Search Issue Tracker

By Design

Votes

0

Found in

5.4.0f3

Issue ID

830985

Regression

No

Setting the "isActive" bool to true in "GUIStyle.Draw()" does not make button active

IMGUI

-

in "GUIStyle.Draw ()" setting "isActive " to true does not make the button active(green) unless you also set "isHover" to true.
Steps to reproduce:
1. Open attached project
2. Open scene view
- Observe that button "active" which has "isActive" set to true and "isHover" set to false is not green(not in active state).

Actual result: Button does not become active when setting "isActive" to true, "isHover" needs to be set to true as well in order for "active" button to work.
Expected result: Button should become active(green) without setting "isHover" to true.

Reproduced on: 5.5.0b2, 5.4.0p4, 5.3.6p4

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.