diff --git a/src/client/spark/view/Spark/Ladder/LadderVM.cs b/src/client/spark/view/Spark/Ladder/LadderVM.cs index c6bd4320f..658d29336 100644 --- a/src/client/spark/view/Spark/Ladder/LadderVM.cs +++ b/src/client/spark/view/Spark/Ladder/LadderVM.cs @@ -20,6 +20,8 @@ using System.Windows.Media; namespace mbts.spark { class LadderVM : DisposableViewModelBase, IWillLetYouKnowWhenIDispose, IKeyListener { + static readonly Brush _transparent_status_brush = BTSColors.UI.transparent; + readonly IBus _bus; readonly LadderModel _model; readonly Property _high, _low, _change, _open, _settlement, _position; @@ -52,7 +54,7 @@ namespace mbts.spark { _volume = backing(nameof(volume), 0ul); _auto_clear = backing(nameof(auto_clear), false); _status = backing(nameof(status_message), ""); - _status_brush = backing(nameof(status_background), (Brush)BTSColors.UI.spark_menu_background); + _status_brush = backing(nameof(status_background), _transparent_status_brush); // brush props _bid_background = brush_prop(nameof(bid_background), s => s.bid_column.background.rgb_brush()); _bid_foreground = brush_prop(nameof(bid_foreground), s => s.bid_column.foreground.rgb_brush()); @@ -224,7 +226,7 @@ namespace mbts.spark { await Task.Delay(TimeSpan.FromSeconds(5)); if (_status.Value == a.message) { _status.set(""); - _status_brush.set(BTSColors.UI.spark_menu_background); + _status_brush.set(_transparent_status_brush); } } }