mirror of
https://github.com/Matysh/houseplan-card
synced 2026-07-31 08:28:31 +00:00
room card: the name never moves, the settings button sits at the bottom
The label box is centred on the room point, so anything taking part in its layout SHIFTS THE NAME: entering the plan editor pushed it down by the gear button's height (owner's report). The name is the anchor now — the metrics and the gear button hang below it as absolutes, outside the centring math — so the name renders in exactly the same spot in view mode and in the editor, and the settings button is the bottom row of the card. Verified by measuring the name's vb-coordinates in both modes: identical to the pixel.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user