Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Panel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -1120,8 +1120,11 @@ Panel {
anchors.fill: parent
bar: root.bar
text: ""
// Leaned over like the real thing, same obliquity as the panel globe.
textRotation: Solar.AXIAL_TILT
// Upright, unlike the panel globe. The bar draws this glyph with native
// text rendering at about thirteen pixels, and a lattice that fine does
// not survive being turned off the pixel grid: leaned over by the earth's
// obliquity it shreds into a dotted blob. The lean lives on the hero
// globe, which is drawn and large enough to carry it.
tooltipText: "World clock"
onPressed: function(buttonCode) {
if (buttonCode === Qt.RightButton || buttonCode === Qt.MiddleButton) root.refresh()
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,13 @@ the arithmetic left it. At rest a `Binding` holds the globe there, standing
down while the animation is writing the property. Until the fetcher has
geocoded your city the marker is hidden and it rests on Greenwich.

The sidebar icon carries the same tilt, via `WidgetButton.textRotation`.
The sidebar icon does not carry the tilt. It did, via
`WidgetButton.textRotation`, and it came out as a dotted blob: the bar draws
its glyphs with native text rendering at about thirteen pixels, and the globe
glyph's lattice does not survive being turned off the pixel grid. Qt's other
render types were tried on the same glyph at the same angle and none of them
resolved the graticule either, so the icon stands upright and the lean is left
to the drawn globe, which is large enough to carry it.

Opening the panel spins it three turns. `Easing.OutQuart` over 1250ms puts
most of the rotation in the first third and lets the rest coast out, which is
Expand Down
Loading