mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Gradient editor - Delete stops with DEL key
Surface editor - Fixed editor taking focus on mouse over
This commit is contained in:
parent
a57612adb7
commit
dddfca2b09
@ -39,6 +39,9 @@
|
|||||||
</VisualBrush.Visual>
|
</VisualBrush.Visual>
|
||||||
</VisualBrush>
|
</VisualBrush>
|
||||||
</UserControl.Resources>
|
</UserControl.Resources>
|
||||||
|
<UserControl.InputBindings>
|
||||||
|
<KeyBinding Key="Delete" Command="{s:Action RemoveColorStop}" CommandParameter="{Binding SelectedColorStopViewModel}"/>
|
||||||
|
</UserControl.InputBindings>
|
||||||
<Grid Margin="16">
|
<Grid Margin="16">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="*" />
|
<RowDefinition Height="*" />
|
||||||
|
|||||||
@ -281,7 +281,6 @@ namespace Artemis.UI.Screens.SurfaceEditor
|
|||||||
// ReSharper disable once UnusedMember.Global - Called from view
|
// ReSharper disable once UnusedMember.Global - Called from view
|
||||||
public void EditorGridMouseMove(object sender, MouseEventArgs e)
|
public void EditorGridMouseMove(object sender, MouseEventArgs e)
|
||||||
{
|
{
|
||||||
((Grid) sender).Focus();
|
|
||||||
// If holding down Ctrl, pan instead of move/select
|
// If holding down Ctrl, pan instead of move/select
|
||||||
if (IsPanKeyDown())
|
if (IsPanKeyDown())
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user