mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
25 lines
596 B
C#
25 lines
596 B
C#
using Artemis.UI.Shared;
|
|
using Avalonia;
|
|
using Avalonia.Controls;
|
|
using Avalonia.Markup.Xaml;
|
|
using Avalonia.ReactiveUI;
|
|
|
|
namespace Artemis.VisualScripting.Nodes.Input.Screens;
|
|
|
|
public partial class HotkeyEnableDisableNodeCustomView : ReactiveUserControl<HotkeyEnableDisableNodeCustomViewModel>
|
|
{
|
|
public HotkeyEnableDisableNodeCustomView()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
AvaloniaXamlLoader.Load(this);
|
|
}
|
|
|
|
private void HotkeyBox_OnHotkeyChanged(HotkeyBox sender, EventArgs args)
|
|
{
|
|
ViewModel?.Save();
|
|
}
|
|
} |