Closed psobolewskiPhD closed 3 weeks ago
Here's a vanilla viewer with size=10 I then use canvas_size_limits = (100, 200) and the point is visually larger, but the highlight is off:
canvas_size_limits = (100, 200)
Open napari and make an empty Points layer, click a point. Open the console: viewer.layers[0].canvas_size_limits = (100, 200) Mouse over canvas.
viewer.layers[0].canvas_size_limits = (100, 200)
The highlight should match the Point. Although maybe this is unrealistic with the OpenGL driver affecting size rendering?
napari: 0.5.0a2.dev649+g2d2cac676 Platform: macOS-13.3.1-arm64-arm-64bit System: MacOS 13.3.1 Python: 3.12.2 | packaged by conda-forge | (main, Feb 16 2024, 20:54:21) [Clang 16.0.6 ] Qt: 6.6.1 PyQt6: NumPy: 1.26.4 SciPy: 1.12.0 Dask: 2024.3.1 VisPy: 0.14.3.dev3 magicgui: 0.8.2 superqt: 0.6.2 in-n-out: 0.2.0 app-model: 0.2.5 npe2: 0.7.4
OpenGL:
Screens:
Optional:
Settings path:
No response
CC: @brisvag
Aaah, this! I misunderstood the issue when you mentioned it elsewhere. This shouldn't be hard to fix.
Eeep, this is a dupe of https://github.com/napari/napari/issues/6682 !
π Bug Report
Here's a vanilla viewer with size=10 I then use
canvas_size_limits = (100, 200)
and the point is visually larger, but the highlight is off:π‘ Steps to Reproduce
Open napari and make an empty Points layer, click a point. Open the console:
viewer.layers[0].canvas_size_limits = (100, 200)
Mouse over canvas.π‘ Expected Behavior
The highlight should match the Point. Although maybe this is unrealistic with the OpenGL driver affecting size rendering?
π Environment
napari: 0.5.0a2.dev649+g2d2cac676 Platform: macOS-13.3.1-arm64-arm-64bit System: MacOS 13.3.1 Python: 3.12.2 | packaged by conda-forge | (main, Feb 16 2024, 20:54:21) [Clang 16.0.6 ] Qt: 6.6.1 PyQt6: NumPy: 1.26.4 SciPy: 1.12.0 Dask: 2024.3.1 VisPy: 0.14.3.dev3 magicgui: 0.8.2 superqt: 0.6.2 in-n-out: 0.2.0 app-model: 0.2.5 npe2: 0.7.4
OpenGL:
Screens:
Optional:
Settings path:
π‘ Additional Context
No response