mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-06 01:20:17 +01:00
tools: align the rotation value with 3 digits
This is a 0-360 ranged value, so let's print it aligned. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
6ed158f99d
commit
717b57b6a2
1 changed files with 1 additions and 1 deletions
|
|
@ -398,7 +398,7 @@ print_tablet_axes(struct libinput_event_tablet_tool *t)
|
|||
|
||||
if (libinput_tablet_tool_has_rotation(tool)) {
|
||||
rotation = libinput_event_tablet_tool_get_rotation(t);
|
||||
printq("\trotation: %.2f%s",
|
||||
printq("\trotation: %6.2f%s",
|
||||
rotation, changed_sym(t, rotation));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue