Skip to content

Commit

Permalink
Fixed RTL canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
CPKreu committed May 8, 2023
1 parent 42e65ab commit b7b51c1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/PixiEditor/Views/UserControls/Viewport.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@
Source="{Binding Document.ReferenceLayerViewModel.ReferenceBitmap, Mode=OneWay}"
Visibility="{Binding Document.ReferenceLayerViewModel.IsVisibleBindable, Converter={converters:BoolToHiddenVisibilityConverter}}"
SizeChanged="OnReferenceImageSizeChanged"
RenderOptions.BitmapScalingMode="{Binding ReferenceLayerScale, Converter={converters:ScaleToBitmapScalingModeConverter}}">
RenderOptions.BitmapScalingMode="{Binding ReferenceLayerScale, Converter={converters:ScaleToBitmapScalingModeConverter}}"
FlowDirection="LeftToRight">
<Image.RenderTransform>
<TransformGroup>
<MatrixTransform
Expand Down Expand Up @@ -225,7 +226,8 @@
Width="{Binding Document.Width}"
Height="{Binding Document.Height}"
Source="{Binding TargetBitmap}"
RenderOptions.BitmapScalingMode="{Binding Zoombox.Scale, Converter={converters:ScaleToBitmapScalingModeConverter}}">
RenderOptions.BitmapScalingMode="{Binding Zoombox.Scale, Converter={converters:ScaleToBitmapScalingModeConverter}}"
FlowDirection="LeftToRight">
<Image.Style>
<Style>
<Style.Triggers>
Expand Down

0 comments on commit b7b51c1

Please sign in to comment.