File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ CommonWrapper<
278278 //
279279 // Add the text element (not transformed) and the transformed <g>
280280 //
281- adaptor . append ( this . element , this . svg ( 'text' , { 'data-align' : true } , [ this . text ( '' ) ] ) ) ;
281+ adaptor . append ( this . element , this . svg ( 'text' , { 'data-id- align' : true } , [ this . text ( '' ) ] ) ) ;
282282 adaptor . append ( this . element , g ) ;
283283 return y + h ;
284284 }
@@ -291,7 +291,7 @@ CommonWrapper<
291291 public firstChild ( ) : N {
292292 const adaptor = this . adaptor ;
293293 let child = adaptor . firstChild ( this . element ) ;
294- if ( child && adaptor . kind ( child ) === 'text' && adaptor . getAttribute ( child , 'data-align' ) ) {
294+ if ( child && adaptor . kind ( child ) === 'text' && adaptor . getAttribute ( child , 'data-id- align' ) ) {
295295 child = adaptor . firstChild ( adaptor . next ( child ) ) ;
296296 }
297297 if ( child && adaptor . kind ( child ) === 'rect' && adaptor . getAttribute ( child , 'data-hitbox' ) ) {
You can’t perform that action at this time.
0 commit comments