Skip to content

Commit

Permalink
locked and yt graph fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed May 6, 2020
1 parent 412a0d6 commit 39316be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/eez/gui/event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ static void processTouchEvent(EventType type) {

OnTouchFunctionType getWidgetTouchFunction(const WidgetCursor &widgetCursor) {
if (widgetCursor) {
if (widgetCursor.widget->action && !widgetCursor.appContext->isWidgetActionEnabled(widgetCursor)) {
return nullptr;
}

if (*g_onTouchWidgetFunctions[widgetCursor.widget->type]) {
return *g_onTouchWidgetFunctions[widgetCursor.widget->type];
}
Expand Down

0 comments on commit 39316be

Please sign in to comment.