Skip to content

Commit

Permalink
Add 2520 mark to the rotation slider (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawstorant authored Sep 22, 2024
1 parent 5cbeb86 commit e76ee0a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion boxflat/panels/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def prepare_ui(self) -> None:

self._add_row(BoxflatSliderRow(
"Wheel Rotation Angle",subtitle="Round and round", range_start=90, range_end=2700, big=True, draw_value=False))
self._current_row.add_marks(360, 540, 720, 900, 1080, 1440, 1800, 2160)
self._current_row.add_marks(360, 540, 720, 900, 1080, 1440, 1800, 2160, 2520)
self._current_row.set_expression("/2")
self._current_row.set_reverse_expression("*2")
self._current_row.subscribe(self._set_rotation)
Expand Down
2 changes: 1 addition & 1 deletion data/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.18.0
v1.18.1
5 changes: 5 additions & 0 deletions io.github.lawstorant.boxflat.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@
<update_contact>[email protected]</update_contact>

<releases>
<release version="v1.18.1" date="2024-09-22">
<description>
<p>Added 2520 mark to the rotation slider</p>
</description>
</release>
<release version="v1.18.0" date="2024-09-21">
<description>
<ul>
Expand Down

0 comments on commit e76ee0a

Please sign in to comment.