feature: add buttons to increase/decrease visible lines in text diff view (#145)

This commit is contained in:
leo 2024-05-27 10:29:15 +08:00
parent 8d27690473
commit 1040bbe4d2
8 changed files with 77 additions and 30 deletions

View file

@ -245,6 +245,9 @@
<Style Selector="Button.icon_button:pointerover /template/ ContentPresenter#PART_ContentPresenter, RepeatButton.icon_button:pointerover /template/ ContentPresenter#PART_ContentPresenter">
<Setter Property="Opacity" Value="1"/>
</Style>
<Style Selector="Button.icon_button:disabled Path">
<Setter Property="Fill" Value="{DynamicResource Brush.FG2}"/>
</Style>
<Style Selector="Button.flat">
<Setter Property="BorderThickness" Value="0"/>