Conversation
Layer patterns over 9 real in-game maps with the 🗺 popover, and preview team-game colors in radial sections. - Add map-simulation module with a toggle-switch popover, alphabetical map picker (World, Alps, Two Lakes, Arctic, Mare Nostrum, Gulf of St. Lawrence, Australia, Baikal, South America), land-only masking and in-game territory fill so the preview matches the in-game map view at any zoom - Add "Show Team Colors" toggle that replaces the primary color with each of the 7 team colors in radial wedges from the canvas center - Both controls use toggle switches; the Simulate Map toggle follows selection (turns off when the selected map is clicked again) - Popover polish: 256px frosted-glass panel, selected map highlighted instead of checkmarked, dark preview background to stop primary-color bleed - Add zero-dependency scripts/render-maps.mjs (npm run render:maps) that pre-renders map + land-mask PNGs and the maps.json registry from an OpenFrontIO checkout; bundle them under src/maps and src/data - Document map rendering in code comments; move usage out of README, update CHANGELOG
Add Copy Image Button & Team-Color Icon Tint to Preview - Move Game Simulations button next to the preview zoom controls - Add Copy image (⎙) button that copies the preview as a PNG to the clipboard - Tint the map button with the 7 team colors while Simulate Teams is on - Small fixes to: UI spacing on popovers to create uniformity, size tick display, color display area in floating preview and font imports. - Preview Header Redesign: [⇥] Preview [− 100% +] …… 🗺 ⎙ [❐]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Layer patterns over 9 real in-game maps with the 🗺 popover, and preview
team-game colors in radial sections.
picker (World, Alps, Two Lakes, Arctic, Mare Nostrum, Gulf of St. Lawrence,
Australia, Baikal, South America), land-only masking and in-game territory
fill so the preview matches the in-game map view at any zoom
the 7 team colors in radial wedges from the canvas center
(turns off when the selected map is clicked again)
of checkmarked, dark preview background to stop primary-color bleed
pre-renders map + land-mask PNGs and the maps.json registry from an
OpenFrontIO checkout; bundle them under src/maps and src/data
Add Copy Image Button & Team-Color Icon Tint to Preview
[⇥] Preview [− 100% +] …… 🗺 ⎙ [❐]