Skip to content

Add drag-to-reposition to territorial domination scoreboard#8040

Open
steeldesade wants to merge 1 commit into
beyond-all-reason:masterfrom
steeldesade:feature/territorial-domination-draggable-scoreboard
Open

Add drag-to-reposition to territorial domination scoreboard#8040
steeldesade wants to merge 1 commit into
beyond-all-reason:masterfrom
steeldesade:feature/territorial-domination-draggable-scoreboard

Conversation

@steeldesade

@steeldesade steeldesade commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Problem: Territorial Domination UI is locked in place, covering player view and player camera buttons and can not be moved.

Fix: Implements draggable repositioning for the TD scoreboard UI via RmlUi mousedown/mousemove/mouseup events on the header area. Position is saved to config and restored on load. Adds cursor: move to header.

AI / LLM usage statement:

Visual Studio and Claude Code

Implements draggable repositioning for the TD scoreboard UI via RmlUi mousedown/mousemove/mouseup events on the header area. Position is saved to config and restored on load. Adds cursor: move to header.
@github-actions

Copy link
Copy Markdown
Contributor

Integration Test Results

15 tests  ±0   6 ✅ ±0   3s ⏱️ ±0s
 1 suites ±0   8 💤 ±0 
 1 files   ±0   1 ❌ ±0 

For more details on these failures, see this check.

Results for commit 0434ccd. ± Comparison against base commit e7d11fd.

@Ruwetuin Ruwetuin requested a review from SethDGamre June 21, 2026 11:20
@SethDGamre

Copy link
Copy Markdown
Collaborator

needs some time in the oven. Dragging around is finnicky. If the cursor too far it doesn't follow. It's also possible to place the UI outside of the screen space potentially making it really difficult to put back into frame.
https://discord.com/channels/549281623154229250/1127191779280699442/1518414279512952895

local spSetConfigInt = Spring.SetConfigInt
local spGetConfigInt = Spring.GetConfigInt

-- Drag state (position saved/loaded via RmlUi <handle> — no Spring mouse callbacks needed)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cleanup vibe code comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants