Skip to content

Commit

Permalink
Resize dialog focus fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
flabbet committed Mar 7, 2022
1 parent 3104bf3 commit 9b31575
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions PixiEditor/Views/Dialogs/ResizeCanvasPopup.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
Width="240"
Height="170"
x:Name="sizePicker"
Focusable="True"
ChosenHeight="{Binding NewAbsoluteHeight, Mode=TwoWay, ElementName=window}"
ChosenWidth="{Binding NewAbsoluteWidth, Mode=TwoWay, ElementName=window}"
ChosenPercentageSize="{Binding NewPercentageSize, Mode=TwoWay, ElementName=window}"
Expand Down
1 change: 1 addition & 0 deletions PixiEditor/Views/Dialogs/ResizeDocumentPopup.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
<local:SizePicker HorizontalAlignment="Center" Width="240" Height="180" Margin="0,30,0,0"
x:Name="sizePicker"
PreserveAspectRatio="True"
Focusable="True"
ChosenHeight="{Binding NewAbsoluteHeight, Mode=TwoWay, ElementName=window}"
ChosenWidth="{Binding NewAbsoluteWidth, Mode=TwoWay, ElementName=window}"
ChosenPercentageSize="{Binding NewPercentageSize, Mode=TwoWay, ElementName=window}"
Expand Down

0 comments on commit 9b31575

Please sign in to comment.