SPARK-2392 - ob attach/detach icons to match mini ob
This commit is contained in:
1 parent
3b37f8e48b
commit
aedabcdf00
2 files changed
+6
-2
No files matched your search
@@ -37,6 +37,8 @@ namespace mbts.ui {
|
||||
EditDocumentAltGeometryKey = nameof(EditDocumentAltGeometryKey),
|
||||
EditDocumentGeometryKey = nameof(EditDocumentGeometryKey),
|
||||
GearGeometryKey = nameof(GearGeometryKey),
|
||||
LetterAKey = nameof(LetterAKey),
|
||||
LetterDKey = nameof(LetterDKey),
|
||||
OrdersGeometryKey = nameof(OrdersGeometryKey),
|
||||
PaymentGeometryKey = nameof(PaymentGeometryKey),
|
||||
PencilGeometryKey = nameof(PencilGeometryKey),
|
||||
@@ -181,6 +183,8 @@ namespace mbts.ui {
|
||||
public static ImageSource HandPointingOverDocument => load_resource_and_freeze("HandPointingOverDocument");
|
||||
public static ImageSource Support => load_resource_and_freeze("SupportIcon");
|
||||
public static ImageSource FloppyDisk => create_icon("FloppyDisk");
|
||||
public static ImageSource LetterA => create_icon(LetterAKey);
|
||||
public static ImageSource LetterD => create_icon(LetterDKey);
|
||||
|
||||
|
||||
public static ImageSource create_icon(string geometric_path_key) =>
|
||||
|
||||
@@ -137,14 +137,14 @@ namespace mbts.spark {
|
||||
|
||||
var attach_selected_orders_command = new SparkCommandCommand(
|
||||
"Attach To Selected",
|
||||
Icons.AttachAlgos,
|
||||
Icons.LetterA,
|
||||
_vm.begin_attach_cmd,
|
||||
new KeyGesture(Key.A, ModifierKeys.Control | ModifierKeys.Shift));
|
||||
attach_selected_orders_command.group = CommandGroups.Modify;
|
||||
|
||||
var detach_selected_orders_command = new SparkCommandCommand(
|
||||
"Detach Selected",
|
||||
Icons.DetachAlgos,
|
||||
Icons.LetterD,
|
||||
_vm.detach_selected_orders_cmd,
|
||||
new KeyGesture(Key.D, ModifierKeys.Control | ModifierKeys.Shift));
|
||||
detach_selected_orders_command.group = CommandGroups.Modify;
|
||||
|
||||
Reference in new issue
Block a user