TDS Bug Fixes - Continued
Sadly Uuugggg has passed away, I'm going to continue this mod (and some/all of his others) in order to preserve his legacy and impact on RimWorld.
[url=https://steamcommunity.com/sharedfiles/filedetails/?id=2895035527]Original Mod[/url]
[url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2FMemeGoddess%2FRimWorld-TDS-Bugfixes]Github[/url][github.com]
Original Description
These are bugfixes, incomplete features or overlooked edge cases I found I needed for my mods.
(Little to no use otherwise because these niche scenarios don't show up in vanilla.)
Drag-Reorderable row items
- Allows reorderables in draggable windows. (Vanilla would drag the window instead)
- Allows nested re-orderable areas within each other. (Vanilla assumes your multi-area reorder areas are separate areas)
-- Even nested reorderable rows work, not just nested group areas. (One parent row with nested children row can cover all the children and work fine)
- Allows multi-area reorderables in-game (the colonist bar would hijack the drop in vanilla)
- The drawn "drop line" when dropping onto an empty group now draws in the group's area (instead of at 0,0)
- TODO: I found a problem with reorderable areas in multiple windows. If you click on the window that is not the front window to start a drag, it'll start to drag the wrong item. This one is due to some very low-level assumptions and can't easily be fixed.
WidgetRow
- Fixes ButtonRect's height when set to a fixed width, to match other WidgetRow buttons : 22px high instead of preset 24.
- Fixes the first label in a row getting a 2px gap added.
Window
- If you press esc when there's a MessageBox window over another window, which is not a modal window, it would closes them both. Fixed that.. Somehow I guess this just never happens in vanilla?
---
Original Source (Not current) on github : [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2Falextd%2FRimWorld-TDS-Bugfixes]https://github.com/alextd/RimWorld-TDS-Bugfixes[/url]