Skip to content

Commit

Permalink
perf: increased number of items before warning to switch to low res
Browse files Browse the repository at this point in the history
  • Loading branch information
ElpadoCan committed Jun 19, 2023
1 parent 5ccb389 commit 164a807
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 21 deletions.
3 changes: 0 additions & 3 deletions cellacdc/_test_all_icons.py
Expand Up @@ -23,9 +23,6 @@
QCheckBox
)




from cellacdc.load import get_all_svg_icons_aliases
from cellacdc._palettes import getPaletteColorScheme, setToolTipStyleSheet

Expand Down
2 changes: 1 addition & 1 deletion cellacdc/gui.py
Expand Up @@ -3959,7 +3959,7 @@ def _gui_createGraphicsItems(self):

self.highLowResToggle.setChecked(True)
numItems = len(allIDs)
if numItems > 500:
if numItems > 1500:
cancel, switchToLowRes = _warnings.warnTooManyItems(
self, numItems, self.progressWin
)
Expand Down
34 changes: 17 additions & 17 deletions cellacdc/resources/icons/expandLabel_dark.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 164a807

Please sign in to comment.