Skip to content

Fix Fill Color button responsiveness for shape tools#47

Open
Akshay-krish wants to merge 1 commit intosugarlabs:masterfrom
Akshay-krish:fix-fill-color-button
Open

Fix Fill Color button responsiveness for shape tools#47
Akshay-krish wants to merge 1 commit intosugarlabs:masterfrom
Akshay-krish:fix-fill-color-button

Conversation

@Akshay-krish
Copy link
Copy Markdown

The Fill Color button was unresponsive when shape tools were selected in the toolbar. Now the button is dynamically enabled only for shape tools (ellipse, rectangle, line, freeform, heart, parallelogram, arrow, star, trapezoid, triangle, polygon_regular) and disabled for other tools.
6
This ensures predictable behavior when switching between brush, eraser, and shape tools, improving the usability of the Paint activity.

Fixes #46

The Fill Color button was unresponsive when shape tools were selected
in the toolbar. Now the button is dynamically enabled only for shape
tools (ellipse, rectangle, line, freeform, heart, parallelogram, arrow,
star, trapezoid, triangle, polygon_regular) and disabled for other tools.

This ensures predictable behavior when switching between brush, eraser,
and shape tools, improving the usability of the Paint activity.

Fixes sugarlabs#46
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.

Unresponsive toolbar button

1 participant