Skip to content

Commit 167b902

Browse files
0HyperCubeKeavon
authored andcommitted
Fix format
1 parent 0bdf339 commit 167b902

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ impl Fsm for TextToolFsmState {
637637
let subpaths = graphene_core::text::buffer_to_path(editing_text.editor.buffer(), &mut font_system, &editing_text.text.spans, &editing_text.path);
638638
overlay_context.outline(subpaths.iter(), transform);
639639
let handle = graphene_core::text::find_line_wrap_handle(editing_text.editor.buffer(), &editing_text.text.spans);
640-
overlay_context.square(transform.transform_point2(handle), self == TextToolFsmState::Wrap);
640+
overlay_context.manipulator_anchor(transform.transform_point2(handle), self == TextToolFsmState::Wrap, None);
641641
let subpaths = graphene_core::text::selection_shape(&editing_text.editor, &editing_text.text);
642642
overlay_context.outline(subpaths.iter(), transform);
643643
let subpaths = graphene_core::text::cursor_shape(&editing_text.editor, &editing_text.text);

frontend/src/io-managers/input.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { type DialogState } from "@graphite/state-providers/dialog";
44
import { type DocumentState } from "@graphite/state-providers/document";
55
import { type FullscreenState } from "@graphite/state-providers/fullscreen";
66
import { type PortfolioState } from "@graphite/state-providers/portfolio";
7-
import { makeKeyboardModifiersBitfield, textInputCleanup, getLocalizedScanCode } from "@graphite/utility-functions/keyboard-entry";
7+
import { makeKeyboardModifiersBitfield, getLocalizedScanCode } from "@graphite/utility-functions/keyboard-entry";
88
import { platformIsMac } from "@graphite/utility-functions/platform";
99
import { extractPixelData } from "@graphite/utility-functions/rasterization";
1010
import { stripIndents } from "@graphite/utility-functions/strip-indents";

frontend/src/wasm-communication/messages.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,6 @@ export class TriggerVisitLink extends JsMessage {
637637
url!: string;
638638
}
639639

640-
641640
export class TriggerTextCopy extends JsMessage {
642641
readonly copyText!: string;
643642
}

0 commit comments

Comments
 (0)