mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Merge branch 'master' into development
This commit is contained in:
commit
0ed367530f
@ -373,7 +373,7 @@
|
|||||||
</LogicalLayouts>
|
</LogicalLayouts>
|
||||||
</CustomData>
|
</CustomData>
|
||||||
</Led>
|
</Led>
|
||||||
<Led Id="Keyboard_Backslash">
|
<Led Id="Keyboard_Enter">
|
||||||
<Shape>M0,0 L0,0.5 L0.16666666666,0.5 L0.16666666666,1 L1,1 L1,0 Z</Shape>
|
<Shape>M0,0 L0,0.5 L0.16666666666,0.5 L0.16666666666,1 L1,1 L1,0 Z</Shape>
|
||||||
<Width>1.5</Width>
|
<Width>1.5</Width>
|
||||||
<Height>2</Height>
|
<Height>2</Height>
|
||||||
@ -522,11 +522,11 @@
|
|||||||
</LogicalLayouts>
|
</LogicalLayouts>
|
||||||
</CustomData>
|
</CustomData>
|
||||||
</Led>
|
</Led>
|
||||||
<Led Id="Keyboard_Enter">
|
<Led Id="Keyboard_NonUsTilde">
|
||||||
<Width>1</Width>
|
<Width>1</Width>
|
||||||
<CustomData>
|
<CustomData>
|
||||||
<LogicalLayouts>
|
<LogicalLayouts>
|
||||||
<LogicalLayout Name="GB" Image="Keycaps/BlackslashIso.png" />
|
<LogicalLayout Name="GB" Image="Keycaps/TildeIso.png" />
|
||||||
</LogicalLayouts>
|
</LogicalLayouts>
|
||||||
</CustomData>
|
</CustomData>
|
||||||
</Led>
|
</Led>
|
||||||
|
|||||||
@ -344,7 +344,7 @@
|
|||||||
</LogicalLayouts>
|
</LogicalLayouts>
|
||||||
</CustomData>
|
</CustomData>
|
||||||
</Led>
|
</Led>
|
||||||
<Led Id="Keyboard_Backslash">
|
<Led Id="Keyboard_Enter">
|
||||||
<Shape>M0,0 L0,0.5 L0.16666666666,0.5 L0.16666666666,1 L1,1 L1,0 Z</Shape>
|
<Shape>M0,0 L0,0.5 L0.16666666666,0.5 L0.16666666666,1 L1,1 L1,0 Z</Shape>
|
||||||
<Width>1.5</Width>
|
<Width>1.5</Width>
|
||||||
<Height>2</Height>
|
<Height>2</Height>
|
||||||
@ -463,11 +463,11 @@
|
|||||||
</LogicalLayouts>
|
</LogicalLayouts>
|
||||||
</CustomData>
|
</CustomData>
|
||||||
</Led>
|
</Led>
|
||||||
<Led Id="Keyboard_Enter">
|
<Led Id="Keyboard_NonUsTilde">
|
||||||
<Width>1</Width>
|
<Width>1</Width>
|
||||||
<CustomData>
|
<CustomData>
|
||||||
<LogicalLayouts>
|
<LogicalLayouts>
|
||||||
<LogicalLayout Name="GB" Image="Keycaps/BlackslashIso.png" />
|
<LogicalLayout Name="GB" Image="Keycaps/TildeIso.png" />
|
||||||
</LogicalLayouts>
|
</LogicalLayouts>
|
||||||
</CustomData>
|
</CustomData>
|
||||||
</Led>
|
</Led>
|
||||||
|
|||||||
@ -373,7 +373,7 @@
|
|||||||
</LogicalLayouts>
|
</LogicalLayouts>
|
||||||
</CustomData>
|
</CustomData>
|
||||||
</Led>
|
</Led>
|
||||||
<Led Id="Keyboard_Backslash">
|
<Led Id="Keyboard_Enter">
|
||||||
<Shape>M0,0 L0,0.5 L0.16666666666,0.5 L0.16666666666,1 L1,1 L1,0 Z</Shape>
|
<Shape>M0,0 L0,0.5 L0.16666666666,0.5 L0.16666666666,1 L1,1 L1,0 Z</Shape>
|
||||||
<Width>1.5</Width>
|
<Width>1.5</Width>
|
||||||
<Height>2</Height>
|
<Height>2</Height>
|
||||||
@ -522,11 +522,11 @@
|
|||||||
</LogicalLayouts>
|
</LogicalLayouts>
|
||||||
</CustomData>
|
</CustomData>
|
||||||
</Led>
|
</Led>
|
||||||
<Led Id="Keyboard_Enter">
|
<Led Id="Keyboard_NonUsTilde">
|
||||||
<Width>1</Width>
|
<Width>1</Width>
|
||||||
<CustomData>
|
<CustomData>
|
||||||
<LogicalLayouts>
|
<LogicalLayouts>
|
||||||
<LogicalLayout Name="GB" Image="Keycaps/BlackslashIso.png" />
|
<LogicalLayout Name="GB" Image="Keycaps/TildeIso.png" />
|
||||||
</LogicalLayouts>
|
</LogicalLayouts>
|
||||||
</CustomData>
|
</CustomData>
|
||||||
</Led>
|
</Led>
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
@ -85,8 +85,12 @@ namespace Artemis.UI.Shared.Screens.GradientEditor
|
|||||||
NotifyOfPropertyChange(nameof(HasMoreThanOneStop));
|
NotifyOfPropertyChange(nameof(HasMoreThanOneStop));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RemoveColorStop(ColorStopViewModel colorStopViewModel)
|
public void RemoveColorStop(ColorStopViewModel? colorStopViewModel)
|
||||||
{
|
{
|
||||||
|
// Can be null when called by the view
|
||||||
|
if (colorStopViewModel == null)
|
||||||
|
return;
|
||||||
|
|
||||||
ColorStopViewModels.Remove(colorStopViewModel);
|
ColorStopViewModels.Remove(colorStopViewModel);
|
||||||
ColorGradient.Remove(colorStopViewModel.ColorStop);
|
ColorGradient.Remove(colorStopViewModel.ColorStop);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user