mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
fix stuck (press) slider w. clicking on empty area
This commit is contained in:
@@ -206,6 +206,11 @@ bool CButton::isHighlighted()
|
||||
return getState() == EButtonState::HIGHLIGHTED;
|
||||
}
|
||||
|
||||
bool CButton::isPressed()
|
||||
{
|
||||
return getState() == EButtonState::PRESSED;
|
||||
}
|
||||
|
||||
void CButton::setHoverable(bool on)
|
||||
{
|
||||
hoverable = on;
|
||||
|
||||
Reference in New Issue
Block a user