From 6cc4064cd3aadb9be92f79f8b1f5a09d14cb1fe9 Mon Sep 17 00:00:00 2001 From: John Colvin Date: Thu, 23 May 2019 13:32:35 -0500 Subject: [PATCH] normalize spacing in OrderBookRowVM.cs --- .../Trading/OrderBook/OrderBookRowVM.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/client/spark/Modules/Trading/OrderBook/OrderBookRowVM.cs b/src/client/spark/Modules/Trading/OrderBook/OrderBookRowVM.cs index 97314434b..813658f40 100644 --- a/src/client/spark/Modules/Trading/OrderBook/OrderBookRowVM.cs +++ b/src/client/spark/Modules/Trading/OrderBook/OrderBookRowVM.cs @@ -134,14 +134,14 @@ namespace mbts.spark { } } } - public bool is_qty_dirty => this.prospective_quantity != this.quantity; + public bool is_qty_dirty => this.prospective_quantity != this.quantity; public bool is_price_dirty => this.prospective_price != this.price; // Commands public ICommand toggle_command => _toggle_expanded_cmd ?? ( _toggle_expanded_cmd = new DelegateCommand(() => is_expanded = !is_expanded)); - public ICommand show_order_modify_cmd => + public ICommand show_order_modify_cmd => _show_order_modify_cmd ?? (_show_order_modify_cmd = new DelegateCommand(() => _owner.show_order_modify(this), () => status == OrderStatus.Working)); public ICommand cancel_command => _cancel_cmd ?? @@ -195,7 +195,7 @@ namespace mbts.spark { public ICommand update_command => _update_command ?? ( _update_command = new DelegateCommand(() => { - _select_me(); + _select_me(); }) ); @@ -257,11 +257,11 @@ namespace mbts.spark { // quantity if ((Columns.Size & dirty) != 0) RaisePropertyChanged(nameof(quantity), nameof(is_qty_dirty)); - // we need to update the prospective_quantity here b/c an update could have come in while the row was in edit mode - // via the Mini OB update column mechanism (vs the EditableQty column) - // prospecive price does not need to be updated in the same manner b/c if the price is changed, the whole - // row will no longer match the filter - prospective_quantity = quantity; + // we need to update the prospective_quantity here b/c an update could have come in while the row was in edit mode + // via the Mini OB update column mechanism (vs the EditableQty column) + // prospecive price does not need to be updated in the same manner b/c if the price is changed, the whole + // row will no longer match the filter + prospective_quantity = quantity; // price if ((Columns.Price & dirty) != 0) { RaisePropertyChanged(nameof(price)); @@ -408,4 +408,4 @@ namespace mbts.spark { } } } -} +} \ No newline at end of file