Merged
Conversation
Co-authored-by: Copilot <copilot@github.com>
…ates, and religions Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
✅ Deploy Preview for afmg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces a set of UI/UX quality-of-life improvements across map generation prompts, hotkeys, and several editors (heightmap, states, cultures, religions).
Changes:
- Added a new Heightmap “Fill” brush UI control and implementation for filling enclosed water / same-height areas.
- Updated hotkey handling to support Alt+Shift editor shortcuts and bracket-key (
[/]) brush resizing behavior. - Improved manual editing workflows with undo history and “do not overwrite existing” protections, plus tooltip/help text updates.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
src/index.html |
Updated provinces ratio tooltip; added the new Heightmap Fill brush button and tooltip. |
public/modules/ui/options.js |
Reduced the “regen without confirmation” time threshold from 5 minutes to 1 minute. |
public/modules/ui/hotkeys.js |
Adjusted Alt handling; added bracket-key brush resizing interception logic. |
public/modules/ui/heightmap-editor.js |
Implemented Fill brush behavior and related UI toggling. |
public/modules/dynamic/editors/states-editor.js |
Added manual painting undo + “do not overwrite existing” option; updated brush tooltip. |
public/modules/dynamic/editors/religions-editor.js |
Added “do not overwrite existing” option; updated brush tooltip. |
public/modules/dynamic/editors/cultures-editor.js |
Added manual painting undo history; updated brush tooltip. |
…detection Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
Description