Only highlight the widgets on mouse down when they are also hovered #106
Loading…
Reference in New Issue
No description provided.
Delete Branch "ilidemi/orca:fix-hovered-active"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This could be further improved if
OC_UI_HOVER
would becomeOC_UI_HOT
and look atbox->hot
. Radio buttons are set to hot when the mouse is hovering the label, checkboxes ideally could be too. I haven't thought through the possible side effects so not changing it here.Buttons were not reverting to default style when active but not hovered. I added a pattern element to ensure they are only highlighted when they are hovered or hovered and active.
I also added a
OC_UI_HOT
style selector to do what you suggested with the radio buttons. I didn't change checkboxes because they come without a label for now.As an aside, I feel like the hot/active nomenclature is a bit confusing, since for buttons it really maps hovered/dragging but users might think of "active" as "will trigger if released"... so maybe we could change that and use better names.