mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
Stories: phone entry, centred framing, review follow-ups
- On GEV's phone layout, where neither the style readout nor the account avatar shows, the Stories button goes icon-only under the corner-actions column instead of covering the top row of icon buttons. - Explore frames its start view and a picked story in the middle of the map it leaves visible (beside the feed, above the phone sheet), with one short correction if that area moved during the flight. - The share icon stays visible in icon-only header buttons. - A world clock nothing moved while Stories was open (no jump, same mode and rate) is left alone on Close. - Card images use the globe's own Esri tile URL; the credit list keeps the application's full-screen placement on phones. - Tests cover the live and playing clock restores, the clock coming back after the share state, the tile-settling hold being released (settled, 10 s, Close), the visible-map aim, and the near-end Play fix in the director's real order. One changelog fragment covers the PR.
This commit is contained in:
1 parent
8a0953c35d
commit
472cc35c47
13 files changed
+351
-38
No files matched your search
@@ -146,4 +146,15 @@ test('the Stories button sits left of whatever is in the top-right corner', () =
|
||||
);
|
||||
// Nothing there yet.
|
||||
assert.deepEqual(entryPlacement([null, null], 1960), { top: 14, right: 14 });
|
||||
// GEV's phone layout: no readout or avatar; icon-only under the corner
|
||||
// actions column, aligned with its right edge.
|
||||
assert.deepEqual(
|
||||
entryPlacement([box(0, 0, 0, 0), null], 639, box(594, 60, 33, 70)),
|
||||
{ top: 138, right: 12, compact: true },
|
||||
);
|
||||
// A visible readout still wins over the column.
|
||||
assert.deepEqual(
|
||||
entryPlacement([box(400, 24, 200, 40), null], 639, box(594, 60, 33, 70)),
|
||||
{ top: 24, right: 249 },
|
||||
);
|
||||
});
|
||||
Reference in new issue
Block a user