correctly colour SymbolButton by button state, independently of event order
This commit is contained in:
@@ -35,7 +35,7 @@ namespace EscapeRoomEngine.Desert.Runtime
|
||||
public event ButtonEventHandler ButtonEvent;
|
||||
|
||||
[ShowNativeProperty]
|
||||
private bool Active
|
||||
protected bool Active
|
||||
{
|
||||
get => _active;
|
||||
set
|
||||
@@ -51,7 +51,7 @@ namespace EscapeRoomEngine.Desert.Runtime
|
||||
}
|
||||
|
||||
[ShowNativeProperty]
|
||||
private bool Pressed
|
||||
protected bool Pressed
|
||||
{
|
||||
get => _pressed;
|
||||
set
|
||||
|
||||
Reference in New Issue
Block a user