Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
0HyperCube authored and Keavon committed Feb 17, 2024
1 parent a2b42c2 commit b644143
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion editor/src/messages/tool/tool_messages/text_tool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ impl Fsm for TextToolFsmState {
let subpaths = graphene_core::text::buffer_to_path(editing_text.editor.buffer(), &mut font_system, &editing_text.text.spans, &editing_text.path);
overlay_context.outline(subpaths.iter(), transform);
let handle = graphene_core::text::find_line_wrap_handle(editing_text.editor.buffer(), &editing_text.text.spans);
overlay_context.square(transform.transform_point2(handle), self == TextToolFsmState::Wrap);
overlay_context.manipulator_anchor(transform.transform_point2(handle), self == TextToolFsmState::Wrap, None);
let subpaths = graphene_core::text::selection_shape(&editing_text.editor, &editing_text.text);
overlay_context.outline(subpaths.iter(), transform);
let subpaths = graphene_core::text::cursor_shape(&editing_text.editor, &editing_text.text);
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/io-managers/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { type DialogState } from "@graphite/state-providers/dialog";
import { type DocumentState } from "@graphite/state-providers/document";
import { type FullscreenState } from "@graphite/state-providers/fullscreen";
import { type PortfolioState } from "@graphite/state-providers/portfolio";
import { makeKeyboardModifiersBitfield, textInputCleanup, getLocalizedScanCode } from "@graphite/utility-functions/keyboard-entry";
import { makeKeyboardModifiersBitfield, getLocalizedScanCode } from "@graphite/utility-functions/keyboard-entry";
import { platformIsMac } from "@graphite/utility-functions/platform";
import { extractPixelData } from "@graphite/utility-functions/rasterization";
import { stripIndents } from "@graphite/utility-functions/strip-indents";
Expand Down
1 change: 0 additions & 1 deletion frontend/src/wasm-communication/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,6 @@ export class TriggerVisitLink extends JsMessage {
url!: string;
}


export class TriggerTextCopy extends JsMessage {
readonly copyText!: string;
}
Expand Down

0 comments on commit b644143

Please sign in to comment.