Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ Length Release Notes

.. contents:: Topics

v0.10.0
======

Minor Changes
-------------

- Disable middle click for locking the position of the mouse tracker.
Now only the P keyboard shortcut remains to lock the tracker [`#44`_].
- Add angles measurement.
- The grid and diagonal rulers can now be disabled from the Preferences dialog.
- Add keyboard shortcuts for showing/hiding the markings (M), the grid (G),
the diagonal rulers (I), and the angles (A).
- Add a keyboard shortcut (D) for switching between left-to-right and right-to-left.

.. _#44: https://github.com/herve4m/length/issues/44

v0.9.0
======

Expand Down
13 changes: 13 additions & 0 deletions data/io.github.herve4m.Length.metainfo.xml.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,19 @@
</screenshots>

<releases>
<release version="0.10.0" date="2025-09-22">
<url type="details">https://github.com/herve4m/length/blob/main/CHANGELOG.rst#v0100</url>
<description translate="no">
<p>
Disable middle click for locking the position of the mouse tracker.
Now only the P keyboard shortcut remains to lock the tracker.
</p>
<p>Add angles measurement</p>
<p>The grid and diagonal rulers can now be disabled from the Preferences dialog</p>
<p>Add keyboard shortcuts for showing/hiding the markings (M), the grid (G), the diagonal rulers (I), and the angles (A)</p>
<p>Add a keyboard shortcut (D) for switching between left-to-right and right-to-left</p>
</description>
</release>
<release version="0.9.0" date="2025-08-13">
<url type="details">https://github.com/herve4m/length/blob/main/CHANGELOG.rst#v090</url>
<description translate="no">
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('length',
version: '0.9.0',
version: '0.10.0',
meson_version: '>= 1.1.0',
default_options: [ 'warning_level=2', 'werror=false', ],
)
Expand Down
2 changes: 1 addition & 1 deletion src/unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ def _draw_angles(self, ctx_text, min_size: int) -> None:
legend_y_4 = self.context.height / 2 - extend_4.height / 2

# Draw the diagonals
self.context.ctx.set_line_width(0.2)
self.context.ctx.set_line_width(1)
# Do not draw on the menu button
self.context.ctx.move_to(min_size * width_per_diag, min_size * height_per_diag)
self.context.ctx.line_to(self.context.width, self.context.height)
Expand Down