[us-commits] [ehb54/ultrascan3] cddd7b: Preserve application style lifetime for counter wi...

aaron-auc noreply at github.com
Thu Sep 24 08:35:29 MDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/ehb54/ultrascan3
  Commit: cddd7bf5388da217d242c6cf6dc1416a22b2c62f
      https://github.com/ehb54/ultrascan3/commit/cddd7bf5388da217d242c6cf6dc1416a22b2c62f
  Author: aaron-auc <95181880+aaron-auc at users.noreply.github.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M gui/us_widgets.cpp
    M gui/us_widgets_dialog.cpp
    M programs/us_colorgradient/us_colorgradient.cpp

  Log Message:
  -----------
  Preserve application style lifetime for counter widgets (#539)

* Stop US_WidgetsDialog::us_counter from replacing the application style once per counter, which freed styles still referenced by earlier buttons

* Restrict the counter button restyle to the native macOS and Windows styles and source the style name the way US_Theme does

* Use Fusion style for counter buttons on macOS and Windows to improve usability

* Refactor counter button styling for macOS and Windows to use Fusion style consistently

* Revert the us_somo counter button changes so this PR only touches the main GUI

* Drop the const from the shared counter button style and check it for null once before styling the buttons

* Use a range-based for loop with const pointers when styling counter buttons

* Make the counter children list const and apply the same safe range-based loop to the button width calculation



To unsubscribe from these emails, change your notification settings at https://github.com/ehb54/ultrascan3/settings/notifications


More information about the us-commits mailing list