Put the player model in the middle of the gear page
01M1B8Z4K0NTKX1Q5ZKQ6BWAKP
- Revision
- 1
- Type
- task
- Status
- done
- Assignee
- nobody
- Estimate
- none
- Parent
- The items and the doll in the middle
- Labels
No timestamps and no authors. Git holds both, and the log on the overview is where they are read from.
None yet.
Built. The middle of the gear tab is now a PlayerModel between the two slot columns, posed three quarters on. Two shadow bands sit over it at a higher frame level, because a texture on the panel draws under a model and only frame level goes over one: the top carries your name and level 37 warrior, the foot carries four cells, item level / durability / empty / miss a special, split by hairlines, with the durability line as the panel's bottom edge. The scrolling readout is gone from this tab and each cell's sentence moved into its hover. The three weapon squares are centred under the portrait instead of hanging off its left edge.
The old file argued against a model on the grounds that a picture of your back answers nothing the nineteen squares do not. True sentence, wrong conclusion: you open a character sheet to look at your character. That comment is rewritten rather than deleted, so the next reader sees the argument and how it was settled.
check.sh exits 0: five harness runs, luacheck clean over 173 files, worst function 49 lines / 1 deep / 14 branches against 100 / 4 / 30. Not committed yet.
01M1B8ZE3W8EJRJJT5E5XXWQF8
Reviewed on screen and the portrait was too wide: it took the whole middle, so the two slot columns sat a window apart. The panel now caps at 260 wide and the block, left column plus portrait plus right column, is centred in whatever the page is given. Same margin both sides, worked out once, so it cannot drift as the window resizes. The fourth cell's word is "miss" rather than "miss a special", which is what the narrower cell has room for; the sentence was always in the hover.
01M1BAKB31A4D7YWSYMPGWKTXM
Checked after splitting PlanPage: the command row, the sentence and the thread all still come back through the base class.
01M1Y5FH9BN6E77Z0532TVHVM7