| 1149 | } |
| 1150 | |
| 1151 | void InputEditorModel::startHighlight(int minRow, int maxRow, int minCol, int maxCol, bool valid) |
| 1152 | { |
| 1153 | /* Detect undo/redo operation */ |
| 1154 | // if (!movie->changelog->is_recording) { |
| 1155 | highlightMinRow = minRow; |
| 1156 | highlightMaxRow = maxRow; |
| 1157 | highlightMinCol = minCol; |
| 1158 | highlightMaxCol = maxCol; |
| 1159 | highlightValid = valid; |
| 1160 | highlightTimeoutSec = maxHighlightTimeoutSec; |
| 1161 | highlightStart = std::chrono::steady_clock::now(); |
| 1162 | highlightTimer->start(50); |
| 1163 | // } |
| 1164 | } |
| 1165 | |
| 1166 | void InputEditorModel::beginResetInputs() |
| 1167 | { |