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

Enhanced Preview2D Panel UI/UX #707

Open
wants to merge 32 commits into
base: master
Choose a base branch
from

Conversation

Jowan-Spooner
Copy link
Contributor

@Jowan-Spooner Jowan-Spooner commented Sep 4, 2024

grafik
grafik
grafik
grafik
grafik

This is done by assigning a "result_quality" score to each item based on how it matched. In the Add Node Panel this is used to sort the results.
This makes it so clicking on one of the Library panels "Section" buttons (e.g. Simple, 3D, Noise) will scroll far enough to have that item at the TOP of the tree, not just barely visible.
Remove prints, add tooltip
Implements a "Lock" button in the preview menu.

Adds new icons (added as png for now, svg should be used in the future, but there are some bugs in ThorVG).

Also does a bunch of changes to make sure the preview is cleared when a node is deleted.
Makes sure Preview-Controls get cleared when node get's deleted.

Removes old export code.

Makes default fallback shader transparent instead of black.
@Jowan-Spooner Jowan-Spooner marked this pull request as ready for review September 4, 2024 09:42
- Wrap Pixel Colors Buttons at 8
- make panels toplevel (to not make them cutof when panel is to small)
- move ComplexParamter to menu bar
- Buttons inside of menu panels can now be activated even if the panel isn't open. This is currently only relevant for CTRL+R (center view)
CTRL+E (export image)
However this code also already improves how OptionEdits handle shortcuts (they iterate through instead of opening). More shortcuts could be added although in a perfect world we had some system to customize shortcuts.
Sorry, it was just to simple to exclude 🙈
Now mentions the file name in the folder selection window when exporting.
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

Successfully merging this pull request may close these issues.

1 participant