File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -561,7 +561,7 @@ class RPadPainter extends RObjectPainter {
561
561
this . createAttFill ( { pattern : 1001 , color : 0 } ) ;
562
562
563
563
if ( ( rect . width <= lmt ) || ( rect . height <= lmt ) ) {
564
- if ( ! this . hasSnapId ( ) ) {
564
+ if ( this . getSnapId ( ) ) {
565
565
svg . style ( 'display' , 'none' ) ;
566
566
console . warn ( `Hide canvas while geometry too small w=${ rect . width } h=${ rect . height } ` ) ;
567
567
}
Original file line number Diff line number Diff line change @@ -823,7 +823,7 @@ class TPadPainter extends ObjectPainter {
823
823
this . createAttFill ( { attr : this . #pad } ) ;
824
824
825
825
if ( ( rect . width <= lmt ) || ( rect . height <= lmt ) ) {
826
- if ( this . hasSnapId ( ) ) {
826
+ if ( this . getSnapId ( ) ) {
827
827
svg . style ( 'display' , 'none' ) ;
828
828
console . warn ( `Hide canvas while geometry too small w=${ rect . width } h=${ rect . height } ` ) ;
829
829
}
You can’t perform that action at this time.
0 commit comments