Skip to content

Commit

Permalink
Revert uppx flooring, causes shift issues
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Jun 10, 2022
1 parent da5dea9 commit 8eb4a42
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions piker/ui/_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
from dataclasses import dataclass
from functools import partial
import time
from math import floor
from typing import Optional, Any, Callable

import numpy as np
Expand Down Expand Up @@ -368,7 +367,7 @@ def graphics_update_cycle(
# such unit steps per pixel (aka uppx). Iow, if the zoom level
# is such that a datum(s) update to graphics wouldn't span
# to a new pixel, we don't update yet.
do_append = (append_diff >= floor(uppx))
do_append = (append_diff >= uppx)
if do_append:
vars['i_last_append'] = i_step

Expand Down

0 comments on commit 8eb4a42

Please sign in to comment.