File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { ErrorOverlayComponent } from './canvas-error-overlay'
6
6
import { SafeModeErrorOverlay } from './canvas-wrapper-component'
7
7
import { CanvasStrategyPicker } from './controls/select-mode/canvas-strategy-picker'
8
8
import { TestMenu } from '../titlebar/test-menu'
9
+ import { ToastRenderer } from '../editor/editor-component'
9
10
10
11
export const CanvasFloatingToolbars = React . memo ( ( props : { style : React . CSSProperties } ) => {
11
12
const safeMode = useEditorState (
@@ -43,6 +44,9 @@ export const CanvasFloatingToolbars = React.memo((props: { style: React.CSSPrope
43
44
< CanvasStrategyPicker />
44
45
</ FlexRow >
45
46
</ FlexRow >
47
+ < FlexRow style = { { marginTop : 'auto' , marginBottom : '6.5px' } } >
48
+ < ToastRenderer />
49
+ </ FlexRow >
46
50
{ /* The error overlays are deliberately the last here so they hide other canvas UI, except the test menu */ }
47
51
{ safeMode ? < SafeModeErrorOverlay /> : < ErrorOverlayComponent /> }
48
52
< TestMenu />
Original file line number Diff line number Diff line change @@ -645,6 +645,7 @@ export const ToastRenderer = React.memo(() => {
645
645
return (
646
646
< FlexColumn
647
647
key = { 'toast-stack' }
648
+ data-testid = { 'toast-stack' }
648
649
style = { {
649
650
zIndex : 100 ,
650
651
gap : 10 ,
You can’t perform that action at this time.
0 commit comments