Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/session/input.js
Show First 20 Lines • Show All 762 Lines • ▼ Show 20 Lines | case "mousebuttondown": | ||||
inputState = INPUT_NORMAL; | inputState = INPUT_NORMAL; | ||||
return true; | return true; | ||||
} | } | ||||
break; | break; | ||||
} | } | ||||
break; | break; | ||||
case INPUT_MASSTRIBUTING: | case INPUT_MASSTRIBUTING: | ||||
if (ev.type == "hotkeyup" && ev.hotkey == "session.masstribute") | g_TributingAction.processEvent(ev); | ||||
{ | |||||
g_FlushTributing(); | |||||
inputState = INPUT_NORMAL; | |||||
} | |||||
break; | break; | ||||
case INPUT_BATCHTRAINING: | case INPUT_BATCHTRAINING: | ||||
if (ev.type == "hotkeyup" && ev.hotkey == "session.batchtrain") | if (ev.type == "hotkeyup" && ev.hotkey == "session.batchtrain") | ||||
{ | { | ||||
flushTrainingBatch(); | flushTrainingBatch(); | ||||
inputState = INPUT_NORMAL; | inputState = INPUT_NORMAL; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 862 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator