aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
authorThunderblade73 <85900443+Thunderblade73@users.noreply.github.com>2024-09-05 10:34:44 +0200
committerGitHub <noreply@github.com>2024-09-05 10:34:44 +0200
commit81aebf952893555a48441c4ac5516ac869741bb0 (patch)
treeb0fd7bd1ee9116f6472ea48b6e7695e82b1f4b72 /src/main/java/at/hannibal2/skyhanni/config/features
parent6dae2df502995679bbd7742ac919d9ee467db9d8 (diff)
downloadskyhanni-81aebf952893555a48441c4ac5516ac869741bb0.tar.gz
skyhanni-81aebf952893555a48441c4ac5516ac869741bb0.tar.bz2
skyhanni-81aebf952893555a48441c4ac5516ac869741bb0.zip
Backend: Graph Editor Split & Dissolve (#2466)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/dev/GraphConfig.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/dev/GraphConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/dev/GraphConfig.java
index bbc6caf7d..9a2806f64 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/dev/GraphConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/dev/GraphConfig.java
@@ -82,6 +82,16 @@ public class GraphConfig {
public int tutorialKey = Keyboard.KEY_K;
@Expose
+ @ConfigOption(name = "Split Key", desc = "Key for splitting an edge that is between the active and the closed node.")
+ @ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE)
+ public int splitKey = Keyboard.KEY_NONE;
+
+ @Expose
+ @ConfigOption(name = "Dissolve Key", desc = "Dissolve the active node into one edge if it only has two edges.")
+ @ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE)
+ public int dissolveKey = Keyboard.KEY_NONE;
+
+ @Expose
@ConfigLink(owner = GraphConfig.class, field = "enabled")
public Position infoDisplay = new Position(20, 20);