railroader-setons-special-s.../src
seton fcfdc6fba0 Map: fix T key teleport in overlay and popout; pass M through when module disabled
Overlay: our IsMouseOverGameWindow patch was blocking StrategyCameraController.TeleportToMouse()
as a side effect. Added native export RRPOPOUT_GetOverlayMouseMapPos (stores imgPos atomically
each render frame, returns normalized map-image cursor coords) and handle the T key directly in
UiHost.Update(), invoking MapDrag.OnTeleport with the correct viewport position. MapDrag.Update()
stays gated behind _pointerOver which never fires on our collapsed canvas, so there is no
double-teleport.

Popout: T key does not fire through Unity Input System when the game window lacks focus. Added
GetAsyncKeyState(VK_T) rising-edge detection in DetachedPanel.Update(), using the last MouseMove
event position (tracked before the drag-only guard) as the viewport coordinate.

Module disabled: all three MapWindow_Toggle/Show/ShowPos Harmony prefixes now pass through to the
game's native map when PopoutModule.Settings.enabled is false. Previously UiService.Install()
always applied the intercepts regardless of module state.

Also removed F10 as a shortcut to switch to the popout - F9 already does this and F10 conflicts
with the Shift+F10 UMM hotkey.
2026-06-25 18:16:49 -04:00
..
Core Map: fix T key teleport in overlay and popout; pass M through when module disabled 2026-06-25 18:16:49 -04:00
Modules Map: fix T key teleport in overlay and popout; pass M through when module disabled 2026-06-25 18:16:49 -04:00
Main.cs track and industry labels on map; Mesh LOD module skeleton 2026-06-25 12:33:37 -04:00
S3.csproj v0.2.2 - map module themes, custom colors, in-game overlay 2026-06-18 21:30:53 -04:00