Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable native marquee when dragging crosshair #4

Open
ryanbugden opened this issue Dec 15, 2019 · 4 comments
Open

Disable native marquee when dragging crosshair #4

ryanbugden opened this issue Dec 15, 2019 · 4 comments

Comments

@ryanbugden
Copy link
Contributor

When Lock Center is not checked, it seems the only interaction it makes sense to have with the glyph is to set the center. Is this too heavy-handed/intrusive of an idea? Not sure.

P.S. Loving these updates!

@frankrolf
Copy link
Owner

What do you mean with “too heavy-handed”? Perhaps I don’t fully understand the idea.

I noticed the selection marquee problem as well, and have outlined possible ideas in the (slightly longer) commit message here: 4c8419b

@frankrolf
Copy link
Owner

Oh, I think I understand it now. It is true – the only thing you’d do when Lock Center is unchecked, is editing the center. So deactivating the marquee definitely makes sense (no idea how).

@ryanbugden
Copy link
Contributor Author

You could temporarily save the user's default "glyphViewSelectionMarqueColor", set it to 0 alpha, then restore on mouseUp?

from lib.tools.defaults import getDefaultColor, setDefaultColor

The only reason I bring up the point selection is that one might be confused if they—in the process of choosing the location of the center—has invisibly selected points in the glyph. No idea if there's a way to temporarily disable the ability to select points with a marquee.

@ryanbugden
Copy link
Contributor Author

But yeah if there's a way to actually disable the marquee—not just visually—two birds, one stone.

ryanbugden added a commit to ryanbugden/Rotator that referenced this issue Aug 3, 2023
- UI has been reorganized.
- Number fields are now arrow-accessible.
- Quick-align convenience buttons are now there.
- Marquee is still present for now (some native functions seem buggy), but doesn't select anything if you're dragging the crosshair. frankrolf#4
- Added circle into crosshair to give a sense of mass and click tolerance for dragging (it's now draggable, and not bound to cursor always). Also it's now present in the preview layer, because it's draggable then too. frankrolf#3
- Rotator can be opened anyime, agnostic to any glyph editor window, but only acts on one glyph editor window at a time.
- Changing values in the UI instantly changes preview.
- User defaults are easily stored by EZUI
@ryanbugden ryanbugden changed the title Idea: disable native marquee and point selection when Lock Center is disabled Idea: disable native marquee when dragging crosshair Aug 4, 2023
@ryanbugden ryanbugden changed the title Idea: disable native marquee when dragging crosshair Disable native marquee when dragging crosshair Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants