Compact Brush Toggler

UPDATE ***
V.0.1.4 have been merge to master. works for both 5.1 and 5.2 pre-alpha nightly

Icons have been added,
Icon only interface is now possible.
Fade label on fade slider have been remove to accommodate thinner layout.
Some bugfix - the ones I can fix (Some are … really i think i need a full different approach to mend).

ui3 ui
ui2

edit:
I forgot to add - it works with light themes.
image

Other things:
I tried adding the action for resetting preset. for some reason adding my loadState() function after to load the state, doesnt… work.
my test code - loadstate just works after switching brush, this even if I remove that line that checks for brush and even if It clearly runs the code the state it check doesnt seem to reflect the actual state.

test on vm
fedora at 8gb ram → unworkable stutters.
linux mint at 8gb ran → runs smoothly
fedora at 16gb → kinda works

I think this will be the last update [outside of maybe bugfix]
– i have started working on krita code itself :blush:

I have achieved what I wanted and envision the plugin to be.

8 Likes