RimWorld

RimWorld

Compact Work Tab
Showing 1-8 of 8 entries
Update: Sep 19, 2023 @ 10:40am

Release 1.2.5
Bug Fixes
Replaced CalculateHeaderHeight patch with GetMinHeaderHeight patch (PR #65[github.com])
  • This fixes the issue with the Schedule tab being incorrectly drawn

Update: Sep 14, 2023 @ 5:20pm

Release 1.2.4
Enhancements
Changed Grouped Pawns Lists compatibility for Work table (PR #57[github.com])
  • With Krypt's blessing, upgraded compatibility status from "Compatible" to "Supported"

Update: Sep 10, 2023 @ 10:51am

Release 1.2.3
Bug Fixes
Improved compatibility with the Work Manager mod (PR #51[github.com])

Update: Sep 9, 2023 @ 9:15am

Release 1.2.2
Bug Fixes
Restore click-header-to-sort functionality to columns (PR #46[github.com])
  • It got removed by mistake in the previous release

Update: Sep 8, 2023 @ 10:14am

Release 1.2.1

Bug Fixes

Add Textures to build config (PR #44[github.com])
- In 1.2.0 the Textures folder was missing. This fixes that.

Release 1.2.0

Enhancements

Improved the inclined header labels feature (PR #36[github.com])
- Limited header drawing to the main Work tab only
- This is specifically for improved compatibility with Numbers but it should help compatibility generally to make sure we're not running our code in unexpected contexts
- Refactored mod settings to include three possible header styles
- inclined (the default)
- vertical
- horizontal (vanilla behavior)
- Improved the positioning of the sorting icon above its column when inclined labels are enabled
- Redesigned the mod options dialog to be easier to use and more intuitive (also prettier)

Moved inclined headers to fit over their columns (PR #39[github.com])
- Calculate the horizontal offset using rect.xMax instead of rect.x + rect.width / 2
- Apply the calculated offset to the rotatedRect for proper positioning

Enabled mouse-over features for inclined and vertical headers (PR #40[github.com])
- Inclined and vertical headers now highlight consistently when moused over
- Mouse-over sounds are enabled for inclined and vertical headers
- Inclined and vertical headers now display their tooltips correctly when hovered over

Update: Sep 6, 2023 @ 11:56am

Release 1.1.2

Enhancements

Moved texture loading out of DoHeader prefix and into a static class (PR #33[github.com])
- Removed local fields SortingIcon and SortingDescendingIcon out of PawnColumnWorker_WorkPriority_DoHeader
- Added them to a static Textures class
- Changed references in PawnColumnWorker_WorkPriority_DoHeader to point to the Texture class instead of the local fields

Improved inclined column headers (PR #34[github.com])
- Added a little extra space to the right-hand side of the work tab to make room for inclined labels
- Improved the alignment of inclined labels over their columns (high-school trigonometry, baby)
- Improved compatibility with Grouped Pawns Lists

Update: Sep 3, 2023 @ 4:23pm

Release 1.1.0: The Three-Day Weekend Special

It's Labor Day weekend in the United States, so I've decided to ship a work-in-progress build of Compact Work Tab. New to this version is the option to orient Work tab column headers at 60° instead of 90° straight-up-and-down.

This is an EXPERIMENTAL FEATURE so it's not enabled by default. If you want to try it, you'll want to go into the mod options dialog and check the "Draw labels at a 60° angle" option.

Please report any bugs or feature requests at https://dsc.gg/CaptainArbitrary.

Good luck!

New Features
Added an experimental option to lay out labels at a 60° angle (PR #29[github.com])
- The option is off by default
- With the option off, the mod behaves in exactly the same way it did before
- With it on, column labels are inclined to a 60° angle
- Also, header highlighting is disabled if inclined headers are turned on

Enhancements
Add GapTiny × 2 padding to Cache.MinHeaderHeight (PR #28[github.com])

Update: Aug 28, 2023 @ 3:40pm

Release 1.0.1

New Features

Added mod options (PR #16[github.com])

Enhancements

Used Krafs Publicizer to eliminate some Invoke() calls and improve performance (PR #15[github.com])

Patched CalculateHeaderHeight instead of GetMinHeaderHeight (PR #17[github.com])
PawnTable.CalculateHeaderHeight is called once while PawnColumnWorker_WorkPriority is called N times where N is the number of work priority columns in the table. We only need one.

Added compatibility with Grouped Pawns Lists (PR #19[github.com])
See https://steamcommunity.com/sharedfiles/filedetails/?id=2340773428

Bug Fixes

Fixed erroneous += operator in Cache.cs (PR #13[github.com])