Skip to content

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Dec 15, 2024
1 parent d05923e commit 1e1be6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/wireframes/engine/svg/engine.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,15 @@ export const Text = () => {
text1.color('white');
text1.fill('black');
text1.fontFamily('inherit');
text1.fontSize('16px');
text1.fontSize(16);
text1.text('Hello SVG');
text1.plot({ x: 50, y: 100, w: 200, h: 60, padding: 20 });

const text2 = layer.text();
text2.color('white');
text2.fill('red');
text2.fontFamily('inherit');
text2.fontSize('16px');
text2.fontSize(16);
text2.text('Hello SVG');
text1.plot({ x: 50, y: 200, w: 200, h: 60, padding: 20 });
}}
Expand All @@ -190,7 +190,7 @@ export const Cursors = () => {
move.cursor('move');
move.fill('black');
move.fontFamily('inherit');
move.fontSize('16px');
move.fontSize(16);
move.text('move');
move.plot({ x: 50, y: 100, w: 200, h: 60, padding: 20 });

Expand All @@ -199,7 +199,7 @@ export const Cursors = () => {
resize.cursor('n-resize');
resize.fill('red');
resize.fontFamily('inherit');
resize.fontSize('16px');
resize.fontSize(16);
resize.text('resize');
resize.plot({ x: 50, y: 200, w: 200, h: 60, padding: 20 });
}}
Expand Down
2 changes: 1 addition & 1 deletion src/wireframes/renderer/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export interface EditorProps {
viewSize: Vec2;

// Use WebGL renderer.
useWebGL: boolean;
useWebGL?: boolean;

// True, if it is the default view.
isDefaultView: boolean;
Expand Down

0 comments on commit 1e1be6d

Please sign in to comment.