Skip to content

Commit fd5629b

Browse files
committed
Nits
1 parent ceeb7f2 commit fd5629b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

editor/src/messages/portfolio/document/overlays/utility_functions.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ pub fn path_overlays(document: &DocumentMessageHandler, draw_handles: DrawHandle
165165
DrawHandles::None => {}
166166
}
167167
}
168+
168169
if display_anchors {
169170
for (&id, &position) in vector_data.point_domain.ids().iter().zip(vector_data.point_domain.positions()) {
170171
overlay_context.manipulator_anchor(transform.transform_point2(position), is_selected(ManipulatorPointId::Anchor(id)), None);

editor/src/messages/tool/tool_messages/select_tool.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,6 @@ impl Fsm for SelectToolFsmState {
866866
let is_over_pivot = tool_data.pivot.is_over(mouse_position);
867867

868868
let show_compass = bounds.is_some_and(|quad| quad.all_sides_at_least_width(COMPASS_ROSE_HOVER_RING_DIAMETER) && quad.contains(mouse_position));
869-
// If bounding box is some, compass_rose_state.can_grab() && show_compass is evaluated else compass_rose_state.can_grab() is evaluated
870869
let can_grab_compass_rose = compass_rose_state.can_grab() && (show_compass || bounds.is_none());
871870
let is_flat_layer = tool_data
872871
.bounding_box_manager

editor/src/messages/tool/utility_types.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@ impl LayoutHolder for ToolData {
240240
let separator = std::iter::once(Separator::new(SeparatorType::Section).direction(SeparatorDirection::Vertical).widget_holder());
241241
let buttons = group.into_iter().map(|ToolEntry { tooltip, tooltip_shortcut, tool_type, icon_name }| {
242242
IconButton::new(icon_name, 32)
243-
.disabled( false)
244-
.active( self.active_tool_type == tool_type)
245-
.tooltip( tooltip.clone())
243+
.disabled(false)
244+
.active(self.active_tool_type == tool_type)
245+
.tooltip(tooltip.clone())
246246
.tooltip_shortcut(tooltip_shortcut)
247247
.on_update(move |_| {
248248
if !tooltip.contains("Coming Soon") {

0 commit comments

Comments
 (0)