spaceship/controllers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Loïc Wisniewski 4883197ef3 #93: drive the research menu with a mouse, and close the hole under it
Two separate faults, both reported on the same ticket.

The menu was inert under a mouse. Input reaches the tree as raw events
through BuildController._unhandled_input, because a Control that consumes
them through the GUI system swallows the drag, and the tree only ever read
touch events. That was invisible while the project set
emulate_touch_from_mouse and every click arrived as a synthetic touch; with
that setting gone, nothing selects and nothing scrolls, and there is no
other way to research anything on a desktop. The press and the pan are now
the behaviour, with touch and mouse as two ways in to them. Motion pans only
while the button is held - a hovering pointer must not drag the tree out
from under the reader - and the wheel scrolls, which is the first thing a
desktop player reaches for.

The panel also still had the buy button's hole in it. That button went away
in #83 and nothing moved down into the space, leaving ~180px of dead panel
below the readout while the tree above it stayed cramped. The readout moves
down 154px and the canvas takes the height: 1190px to 1344px.

The test drives clicks through BuildController rather than into the view,
since the missing piece was the routing - calling the view directly would
have passed against the bug as reported.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-22 23:29:34 +02:00
..
AimedFleetAbilityController.gd #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
AimedFleetAbilityController.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
BuildController.gd #93: drive the research menu with a mouse, and close the hole under it 2026-08-22 23:29:34 +02:00
BuildController.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
FireStickController.gd #89: the default gun bends onto a target near the aimed heading 2026-08-22 03:19:52 +02:00
FireStickController.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
GameController.gd Implement #85, #86, #87 and #88 2026-08-22 02:20:12 +02:00
GameController.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
GasBombController.gd #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
GasBombController.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
LaserController.gd #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
LaserController.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
MouseCombatController.gd #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
MouseCombatController.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00