|
@@ -7,6 +7,7 @@
|
|
xmlns:ui="clr-namespace:PixiEditor.Extensions.UI;assembly=PixiEditor.Extensions"
|
|
xmlns:ui="clr-namespace:PixiEditor.Extensions.UI;assembly=PixiEditor.Extensions"
|
|
xmlns:public="clr-namespace:PixiEditor.Models.DocumentModels.Public"
|
|
xmlns:public="clr-namespace:PixiEditor.Models.DocumentModels.Public"
|
|
xmlns:xaml="clr-namespace:PixiEditor.Models.Commands.XAML"
|
|
xmlns:xaml="clr-namespace:PixiEditor.Models.Commands.XAML"
|
|
|
|
+ xmlns:converters="clr-namespace:PixiEditor.Helpers.Converters"
|
|
mc:Ignorable="d"
|
|
mc:Ignorable="d"
|
|
d:DesignWidth="280" d:DesignHeight="25"
|
|
d:DesignWidth="280" d:DesignHeight="25"
|
|
d:DataContext="{d:DesignInstance public:AutosaveDocumentViewModel}">
|
|
d:DataContext="{d:DesignInstance public:AutosaveDocumentViewModel}">
|
|
@@ -87,7 +88,7 @@
|
|
</Style>
|
|
</Style>
|
|
</StackPanel.Resources>
|
|
</StackPanel.Resources>
|
|
<Button Command="{xaml:Command PixiEditor.Autosave.ToggleAutosave}">
|
|
<Button Command="{xaml:Command PixiEditor.Autosave.ToggleAutosave}">
|
|
- <TextBlock Text="" FontFamily="{StaticResource Feather}" />
|
|
|
|
|
|
+ <TextBlock Text="{Binding Enabled, Mode=OneWay, Converter={converters:BoolToValueConverter FalseValue='', TrueValue=''}}" FontFamily="{StaticResource Feather}"/>
|
|
</Button>
|
|
</Button>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Grid>
|