Skip to content

Commit

Permalink
Merge pull request #562 from Sword352/master
Browse files Browse the repository at this point in the history
Remove `ActionManager` traces
  • Loading branch information
ianharrigan authored Jan 5, 2024
2 parents 0a3a37f + e29dc4a commit ac1499a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions haxe/ui/actions/ActionManager.hx
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,16 @@ class ActionManager {
public function actionStart(action:ActionType, source:IActionInputSource) {
var currentFocus = FocusManager.instance.focus;
if (currentFocus == null) {
#if debug
trace("no focus for action: " + action);
#end
// #if debug
// trace("no focus for action: " + action);
// #end
return;
}

if (!(currentFocus is InteractiveComponent)) {
#if debug
trace("current focus not interactive: " + action);
#end
// #if debug
// trace("current focus not interactive: " + action);
// #end
return;
}

Expand All @@ -104,9 +104,9 @@ class ActionManager {
}

if (!(currentFocus is InteractiveComponent)) {
#if debug
trace("current focus not interactive: " + action);
#end
// #if debug
// trace("current focus not interactive: " + action);
// #end
return;
}

Expand All @@ -122,4 +122,4 @@ class ActionManager {
_repeatActions.remove(action);
}
}
}
}

0 comments on commit ac1499a

Please sign in to comment.