Skip to content

Commit 43ee89f

Browse files
committed
layers panel tool bar no longer takes keyboard focus
this is required to allow keyboard focus to remain with visual editor while manipulating layers fixes #387
1 parent ec25571 commit 43ee89f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Profile Editor/LayersPanel.xaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,41 +59,41 @@
5959
</Grid.RowDefinitions>
6060
<ToolBarTray Grid.Row="0" IsLocked="True" Background="Transparent">
6161
<ToolBar Height="28" Background="Transparent">
62-
<Button Command="{Binding MoveForwardCommand}">
62+
<Button Command="{Binding MoveForwardCommand}" Focusable="False">
6363
<Image Source="ToolbarGraphics/BringForwardIcon.png" />
6464
<Button.ToolTip>Bring selected controls forward so they display on top of other controls.</Button.ToolTip>
6565
</Button>
66-
<Button Command="{Binding MoveBackCommand}">
66+
<Button Command="{Binding MoveBackCommand}" Focusable="False">
6767
<Image Source="ToolbarGraphics/SendBackIcon.png" />
6868
<Button.ToolTip>Send selectd controls back so they display under other controls.</Button.ToolTip>
6969
</Button>
7070
<Separator />
71-
<Button Command="{Binding MoveForwardFullyCommand}">
71+
<Button Command="{Binding MoveForwardFullyCommand}" Focusable="False">
7272
<Image Source="ToolbarGraphics/BringForwardFullyIcon.png" />
7373
<Button.ToolTip>Bring selected controls all the way forward so they display on top of all other controls.</Button.ToolTip>
7474
</Button>
75-
<Button Command="{Binding MoveBackFullyCommand}">
75+
<Button Command="{Binding MoveBackFullyCommand}" Focusable="False">
7676
<Image Source="ToolbarGraphics/SendBackFullyIcon.png" />
7777
<Button.ToolTip>Send selected controls all the way back so they display under all other controls.</Button.ToolTip>
7878
</Button>
7979
<Separator />
80-
<Button Command="{Binding ToggleHideControlsCommand}">
80+
<Button Command="{Binding ToggleHideControlsCommand}" Focusable="False">
8181
<Image Source="ToolbarGraphics/HiddenIcon.png" />
8282
<Button.ToolTip>Hide or Unhide selected controls.</Button.ToolTip>
8383
</Button>
84-
<Button Command="{Binding ToggleLockControlsCommand}">
84+
<Button Command="{Binding ToggleLockControlsCommand}" Focusable="False">
8585
<Image Source="ToolbarGraphics/LockedIcon.png" />
8686
<Button.ToolTip>Lock or Unlock selected controls.</Button.ToolTip>
8787
</Button>
88-
<Button Command="{Binding LockAllControlsCommand}">
88+
<Button Command="{Binding LockAllControlsCommand}" Focusable="False">
8989
<Image Source="ToolbarGraphics/LockedPlusIcon.png" />
9090
<Button.ToolTip>Lock all controls.</Button.ToolTip>
9191
</Button>
92-
<Button Command="{Binding UnlockAllControlsCommand}">
92+
<Button Command="{Binding UnlockAllControlsCommand}" Focusable="False">
9393
<Image Source="ToolbarGraphics/UnLockedPlusIcon.png" />
9494
<Button.ToolTip>Unlock all controls.</Button.ToolTip>
9595
</Button>
96-
<Button Command="{Binding ToggleSnapControlsCommand}">
96+
<Button Command="{Binding ToggleSnapControlsCommand}" Focusable="False">
9797
<Image Source="ToolbarGraphics/SnapIcon.png" />
9898
<Button.ToolTip>Enable or disable snapping to selected controls.</Button.ToolTip>
9999
</Button>

0 commit comments

Comments
 (0)