mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
API cleanup, fix some lingering InvalWindowRects
This commit is contained in:
@@ -42,6 +42,9 @@ namespace PortabilityLayer
|
||||
|
||||
int16_t ButtonWidget::Capture(const Point &pos, WidgetUpdateCallback_t callback)
|
||||
{
|
||||
if (!m_enabled || !m_visible)
|
||||
return 0;
|
||||
|
||||
bool drawingDownState = false;
|
||||
bool isInBounds = m_rect.Contains(pos);
|
||||
for (;;)
|
||||
|
||||
Reference in New Issue
Block a user