mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-12 13:28:33 +00:00
Upgrade RGB.NET and hide Mica option outside W11
This commit is contained in:
parent
1c438be158
commit
86a22a9d39
@ -45,7 +45,7 @@
|
||||
</Grid>
|
||||
<Border Classes="card-separator" />
|
||||
|
||||
<Grid RowDefinitions="*,*" ColumnDefinitions="*,Auto">
|
||||
<Grid RowDefinitions="*,*" ColumnDefinitions="*,Auto" IsVisible="{CompiledBinding IsWindows11}">
|
||||
<StackPanel Grid.Column="0">
|
||||
<TextBlock>Enable Mica effect</TextBlock>
|
||||
<TextBlock Classes="subtitle" TextWrapping="Wrap">
|
||||
@ -56,7 +56,7 @@
|
||||
<ToggleSwitch IsChecked="{CompiledBinding EnableMica.Value}" OnContent="Yes" OffContent="No" MinWidth="0" Margin="0 -10" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
<Border Classes="card-separator" />
|
||||
<Border Classes="card-separator" IsVisible="{CompiledBinding IsWindows11}"/>
|
||||
|
||||
<Grid RowDefinitions="*,*" ColumnDefinitions="*,Auto">
|
||||
<StackPanel Grid.Column="0">
|
||||
|
||||
@ -20,6 +20,7 @@ using Artemis.UI.Shared.Services.Builders;
|
||||
using Avalonia.Threading;
|
||||
using DryIoc;
|
||||
using DynamicData;
|
||||
using FluentAvalonia.Interop;
|
||||
using ReactiveUI;
|
||||
using Serilog.Events;
|
||||
|
||||
@ -95,6 +96,7 @@ public class GeneralTabViewModel : ActivatableViewModelBase
|
||||
public ReactiveCommand<Unit, Unit> ShowDataFolder { get; }
|
||||
|
||||
public bool IsAutoRunSupported => _autoRunProvider != null;
|
||||
public bool IsWindows11 => OSVersionHelper.IsWindows11();
|
||||
|
||||
public ObservableCollection<LayerBrushDescriptor> LayerBrushDescriptors { get; }
|
||||
public ObservableCollection<string> GraphicsContexts { get; }
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<PropertyGroup>
|
||||
<AvaloniaVersion>11.0.1</AvaloniaVersion>
|
||||
<FluentAvaloniaVersion>2.0.0</FluentAvaloniaVersion>
|
||||
<RGBDotNetVersion>2.0.0-prerelease.83</RGBDotNetVersion>
|
||||
<RGBDotNetVersion>2.0.0-prerelease.94</RGBDotNetVersion>
|
||||
<SkiaSharpVersion>2.88.3</SkiaSharpVersion>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
Loading…
x
Reference in New Issue
Block a user