recenters all ladders via posting to appropriate tag to bus when spacebar is pressed over a ladder
This commit is contained in:
1 parent
b3369db7cc
commit
dfb673bd63
1 file changed
+3
@@ -447,6 +447,9 @@ namespace mbts.spark {
|
||||
public void key_down(KeyEventArgs e) {
|
||||
if (order_properties_vm == null)
|
||||
return;
|
||||
if (KeyboardExtensions.IsDown(Key.Space)) {
|
||||
_bus?.post(SparkTags.RequestRecenterLadder, null);
|
||||
}
|
||||
// the ctrl modifier requirement helps avoid keyboard-input collisions w/ algo-templates popup
|
||||
if (!KeyboardExtensions.IsCtrlDown()) return;
|
||||
var new_algo = order_properties_vm.algo_definitions.FirstOrDefault(o => o.algo_root.key_match(e));
|
||||
|
||||
Reference in new issue
Block a user