[Fix] NOW it's fixed, and I fixed KonoM's initial bug.
This commit is contained in:
parent
688f4629a3
commit
57d51f6a99
BIN
Unuk-QT/Unuk-QT
BIN
Unuk-QT/Unuk-QT
Binary file not shown.
@ -73,7 +73,7 @@ void Button::SetText(string textArg) {
|
||||
bool Button::CheckMouseOver(void) {
|
||||
if(event.motion.x > _button.GetX() && event.motion.x < _button.GetX() + _button.GetWidth()) {
|
||||
if(event.motion.y > _button.GetY() && event.motion.y < _button.GetY() + _button.GetHeight()) {
|
||||
if(_highlighted) {
|
||||
if(!_highlighted) {
|
||||
_button.SetRGB(_mouseOverColour.r, _mouseOverColour.g, _mouseOverColour.b);
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user