Skip to content

resolve overlap with new buttons in 51.13 #1472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 2, 2025
Merged
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
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Template for new versions:

## Fixes
- `gui/mod-manager`: gracefully handle mods with missing or broken ``info.txt`` files
- `uniform-unstick`: resolve overlap with new buttons in 51.13

## Misc Improvements

Expand Down
3 changes: 2 additions & 1 deletion uniform-unstick.lua
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,11 @@ local MIN_WIDTH = 26
EquipOverlay = defclass(EquipOverlay, overlay.OverlayWidget)
EquipOverlay.ATTRS{
desc='Adds a link to the equip screen to fix equipment conflicts.',
default_pos={x=7,y=21},
default_pos={x=7,y=23},
default_enabled=true,
viewscreens='dwarfmode/Squads/Equipment/Default',
frame={w=MIN_WIDTH, h=1},
version=1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: stick with trailing commas so the diff is cleaner the next time something gets added. (which admittedly we do not enforce with any sort of linter, so don't worry about it this time)

}

function EquipOverlay:init()
Expand Down