fix: clockwise prop not working on circ progress
This commit is contained in:
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
|
|||||||
|
|
||||||
## [UNRELEASED]
|
## [UNRELEASED]
|
||||||
|
|
||||||
## Added
|
### Added
|
||||||
|
|
||||||
- `gtk_ui` function for loading .ui files.
|
- `gtk_ui` function for loading .ui files.
|
||||||
- `widget-control` (`wc` in short) command for controlling widgets.
|
- `widget-control` (`wc` in short) command for controlling widgets.
|
||||||
@@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
|
|||||||
- `widget_control` utility function for dynamic widget handling.
|
- `widget_control` utility function for dynamic widget handling.
|
||||||
- `text` and `show_text` property to progressbar widget.
|
- `text` and `show_text` property to progressbar widget.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- `clockwise` property not working on circular_progress.
|
||||||
|
|
||||||
## [0.3.1] - 2025-11-01
|
## [0.3.1] - 2025-11-01
|
||||||
|
|
||||||
## Fixed
|
## Fixed
|
||||||
@@ -26,7 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
|
|||||||
|
|
||||||
## [0.3.0] - 2025-11-01
|
## [0.3.0] - 2025-11-01
|
||||||
|
|
||||||
## Added
|
### Added
|
||||||
|
|
||||||
- `localsignal` signal for fast and cheap property update.
|
- `localsignal` signal for fast and cheap property update.
|
||||||
- `localbind` utility for binding `localsignal` to a widget property.
|
- `localbind` utility for binding `localsignal` to a widget property.
|
||||||
|
|||||||
@@ -1294,7 +1294,7 @@ pub(super) fn build_circular_progress_bar(
|
|||||||
widget.set_property("thickness", thickness);
|
widget.set_property("thickness", thickness);
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Ok(clockwise) = get_f64_prop(&props, "clockwise", None) {
|
if let Ok(clockwise) = get_bool_prop(&props, "clockwise", None) {
|
||||||
widget.set_property("clockwise", clockwise);
|
widget.set_property("clockwise", clockwise);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user