mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Profile editor - Simplified data binding behavior
This commit is contained in:
parent
10e6cdc54b
commit
0dac4c7387
@ -144,7 +144,7 @@ namespace Artemis.Core
|
|||||||
{
|
{
|
||||||
// Don't update data bindings if there is no delta, otherwise this creates an inconsistency between
|
// Don't update data bindings if there is no delta, otherwise this creates an inconsistency between
|
||||||
// data bindings with easing and data bindings without easing (the ones with easing will seemingly not update)
|
// data bindings with easing and data bindings without easing (the ones with easing will seemingly not update)
|
||||||
if (timeline.Delta == TimeSpan.Zero)
|
if (timeline.Delta == TimeSpan.Zero || timeline.IsOverridden)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
UpdateWithDelta(timeline.Delta);
|
UpdateWithDelta(timeline.Delta);
|
||||||
|
|||||||
@ -99,7 +99,7 @@
|
|||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Margin="0 10 10 0"
|
Margin="0 10 10 0"
|
||||||
Visibility="{Binding AlwaysApplyDataBindings.Value, Converter={x:Static s:BoolToVisibilityConverter.InverseInstance}}"
|
Visibility="{Binding AlwaysApplyDataBindings.Value, Converter={x:Static s:BoolToVisibilityConverter.InverseInstance}}"
|
||||||
ToolTip="Click Play to ensure all other data bindings update as well or enable 'Constantly apply data bindings in editor'"
|
ToolTip="Check 'Apply data bindings in editor'"
|
||||||
Cursor="Help">
|
Cursor="Help">
|
||||||
Other data bindings not updating?
|
Other data bindings not updating?
|
||||||
</TextBlock>
|
</TextBlock>
|
||||||
|
|||||||
@ -137,8 +137,8 @@
|
|||||||
<CheckBox Style="{StaticResource MaterialDesignCheckBox}"
|
<CheckBox Style="{StaticResource MaterialDesignCheckBox}"
|
||||||
Margin="10 0 0 0"
|
Margin="10 0 0 0"
|
||||||
IsChecked="{Binding AlwaysApplyDataBindings.Value}"
|
IsChecked="{Binding AlwaysApplyDataBindings.Value}"
|
||||||
ToolTip="If selected, constantly updates all data bindings instead of only when playing">
|
ToolTip="If selected, updates all data bindings instead of only the one you are editing">
|
||||||
Constantly apply data bindings in editor
|
Apply all data bindings in editor
|
||||||
</CheckBox>
|
</CheckBox>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</materialDesign:Card>
|
</materialDesign:Card>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user