Graph: pan with left or right, open with the other

This commit is contained in:
sarah committed 2026-10-09 09:51:38 +02:00
1 parent d97f82beb2
commit cc7d624a57
8 files changed
+50 -62

No files matched your search

+6 -4
View File
@@ -412,10 +412,12 @@ export default function SettingsPanel({
</div>
<div className="SettingsRow">
<label className="SettingsLabel">Pan with mouse button</label>
<select value={Settings.GraphPanButton} onChange={(Event) => UpdateField("GraphPanButton", Event.target.value)}>
<option value="Left">Left</option>
<option value="Middle">Middle</option>
<option value="Right">Right</option>
<select
value={Settings.GraphPanButton === "Left" ? "Left" : "Right"}
onChange={(Event) => UpdateField("GraphPanButton", Event.target.value)}
>
<option value="Right">Right (left-click opens a dot)</option>
<option value="Left">Left (right-click opens a dot)</option>
</select>
</div>
</div>