File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,13 @@ export default class ExportCanvasExtension extends CanvasExtension {
1111 isEnabled ( ) { return 'betterExportFeatureEnabled' as const }
1212
1313 init ( ) {
14+ this . plugin . registerEvent ( this . plugin . app . workspace . on (
15+ 'advanced-canvas:node-breakpoint-changed' ,
16+ ( canvas : Canvas , node : CanvasNode , breakpointRef : { value : boolean } ) => {
17+ if ( canvas . screenshotting ) breakpointRef . value = true
18+ }
19+ ) )
20+
1421 this . plugin . addCommand ( {
1522 id : 'export-all-as-image' ,
1623 name : 'Export canvas as image' ,
Original file line number Diff line number Diff line change 66 transition : none !important ;
77 }
88
9- & > .canvas-node {
10- --variable-breakpoint : -999999999 ;
9+ // Hide group collapse button
10+ #group-collapse-button {
11+ display : none ;
1112 }
1213
1314 #watermark-ac {
1415 z-index : 9999999 ;
1516 position : absolute ;
1617 }
1718}
19+
20+ // Hide group collapse button
21+ .canvas-wrapper [data-collapsible-groups-feature-enabled = " true" ] .canvas.is-exporting .canvas-node .canvas-group-label {
22+ left : 0 ;
23+ }
1824
1925.progress-bar-modal-ac {
2026 margin-top : .75em ;
You can’t perform that action at this time.
0 commit comments