input boxes UI, keyboard animation
This commit is contained in:
@@ -112,6 +112,9 @@ kEventResult NodeButton::handle_event(Event* e)
|
||||
if (m_mouse_inside && on_click != nullptr)
|
||||
on_click(this);
|
||||
break;
|
||||
case kEventType::MouseCancel:
|
||||
m_border->m_color = color_normal;
|
||||
break;
|
||||
default:
|
||||
return kEventResult::Available;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user