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

Lukas Dobler noreply at github.com
Thu Sep 24 08:37:38 MDT 2026


  Branch: refs/heads/lukas/us_femath-mc-single-loading
  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


  Commit: 4f9be88e9f24d781eced4ce2328b26310f54d14a
      https://github.com/ehb54/ultrascan3/commit/4f9be88e9f24d781eced4ce2328b26310f54d14a
  Author: Lukas Dobler <69309597+doluk 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:
  -----------
  Merge branch 'main' into lukas/us_femath-mc-single-loading


Compare: https://github.com/ehb54/ultrascan3/compare/e85b977919ce...4f9be88e9f24

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