Merge pull request #2337 from myk002/myk_overlay

Reduce the size of the overlay button
develop
Myk 2022-10-14 13:26:23 -07:00 committed by GitHub
commit bf6d569ea2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

@ -51,6 +51,7 @@ changelog.txt uses a syntax similar to RST, with a few special sequences:
- UX: List widgets now have mouse-interactive scrollbars - UX: List widgets now have mouse-interactive scrollbars
- UX: You can now hold down the mouse button on a scrollbar to make it scroll multiple times. - UX: You can now hold down the mouse button on a scrollbar to make it scroll multiple times.
- UX: You can now drag the scrollbar to scroll to a specific spot - UX: You can now drag the scrollbar to scroll to a specific spot
- `overlay`: reduce the size of the "DFHack Launcher" button
- Constructions module: ``findAtTile`` now uses a binary search intead of a linear search. - Constructions module: ``findAtTile`` now uses a binary search intead of a linear search.
## Documentation ## Documentation

@ -99,7 +99,7 @@ namespace DFHack {
DBG_DECLARE(overlay, log, DebugCategory::LINFO); DBG_DECLARE(overlay, log, DebugCategory::LINFO);
} }
static const std::string button_text = "[ DFHack Launcher ]"; static const std::string button_text = "[ DFHack ]";
static bool clicked = false; static bool clicked = false;
static bool handle_click() { static bool handle_click() {