Skip to content

Commit

Permalink
fix: fix the edge bevel operator's width and weight hints
Browse files Browse the repository at this point in the history
  • Loading branch information
tristan-hm committed Jun 22, 2023
1 parent 402857d commit ab7e3f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bevels/edge_bevel.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def draw_text_callback(self):
draw_property(
self,
f"Width: {(self.width * self.display_unit_scale):.2f}{self.unit_suffix}",
self.generate_key_hint("Ctrl + Alt", self.unit_step_hint),
self.generate_step_hint(0.1, 0.01),
active=self.key_no_modifiers,
alt_mode=self.key_shift_no_modifiers,
mouse_value=True,
Expand All @@ -380,7 +380,7 @@ def draw_text_callback(self):
draw_property(
self,
f"Weight: {(self.weight):.2f} ({(self.width * self.display_unit_scale * self.weight):.2f}{self.unit_suffix})",
self.generate_step_hint(0.1, 0.01),
self.generate_key_hint("Ctrl + Alt", self.unit_step_hint),
active=self.key_ctrl_alt,
alt_mode=self.key_shift_ctrl_alt,
mouse_value=True,
Expand Down

0 comments on commit ab7e3f4

Please sign in to comment.