Skip to content

Commit

Permalink
🎨 Fix busy mode for the custom image settings ?
Browse files Browse the repository at this point in the history
Unless I hallucinated, I think the old code using x:Bind seemed to not working. The new one uses a mix of x:Bind and Binding to achieve an equivalent result, tested to work.
(Reason for using x:Bind is that in some places, it did make some weird unbearable binding bugs disappear)
  • Loading branch information
hexawyz committed Feb 15, 2025
1 parent b8d7e9c commit dabdabc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<lts:EmbeddedMonitorSettingTemplateSelector>
<lts:EmbeddedMonitorSettingTemplateSelector.SingleMonitorTemplate>
<DataTemplate x:DataType="vm:EmbeddedMonitorFeaturesViewModel">
<local:EmbeddedMonitorSettingControl Monitor="{x:Bind EmbeddedMonitors[0]}" IsEnabled="{x:Bind EmbeddedMonitors[0].IsNotBusy}" />
<local:EmbeddedMonitorSettingControl DataContext="{x:Bind EmbeddedMonitors[0]}" Monitor="{Binding}" IsEnabled="{Binding IsNotBusy}" />
</DataTemplate>
</lts:EmbeddedMonitorSettingTemplateSelector.SingleMonitorTemplate>
<lts:EmbeddedMonitorSettingTemplateSelector.MonitorMatrixTemplate>
Expand Down

0 comments on commit dabdabc

Please sign in to comment.