@@ -51,6 +51,11 @@ pzpr.classmgr.makeCommon({
5151 cell . setQsub ( this . inputData === unshade ? 1 : 0 ) ;
5252
5353 cell . draw ( ) ;
54+
55+ if ( this . cursor . isActive ) {
56+ this . cursor . isActive = false ;
57+ this . cursor . draw ( ) ;
58+ }
5459 } ,
5560 initFirstCell : function ( cell ) {
5661 if ( ! this . firstCell . isnull ) {
@@ -136,7 +141,7 @@ pzpr.classmgr.makeCommon({
136141 cell . noNum ( )
137142 ) {
138143 this . setcursorsnum ( cell ) ;
139- } else if ( cell !== this . cursor . getc ( ) ) {
144+ } else if ( cell !== this . cursor . getc ( ) || ! this . cursor . isActive ) {
140145 this . setcursor ( cell ) ;
141146 } else {
142147 this . inputqnum_main ( cell ) ;
@@ -424,6 +429,10 @@ pzpr.classmgr.makeCommon({
424429 this . inputarrow_cell_main ( cell , dir ) ;
425430 cell . draw ( ) ;
426431 this . mousereset ( ) ;
432+ if ( this . cursor . isActive ) {
433+ this . cursor . isActive = false ;
434+ this . cursor . draw ( ) ;
435+ }
427436 return ;
428437 }
429438 }
@@ -677,6 +686,11 @@ pzpr.classmgr.makeCommon({
677686 border . removeBorder ( ) ;
678687 }
679688 border . draw ( ) ;
689+
690+ if ( this . cursor . isActive ) {
691+ this . cursor . isActive = false ;
692+ this . cursor . draw ( ) ;
693+ }
680694 }
681695 this . prevPos = pos ;
682696 } ,
@@ -697,6 +711,11 @@ pzpr.classmgr.makeCommon({
697711 border . setQsub ( 0 ) ;
698712 }
699713 border . draw ( ) ;
714+
715+ if ( this . cursor . isActive ) {
716+ this . cursor . isActive = false ;
717+ this . cursor . draw ( ) ;
718+ }
700719 }
701720 this . prevPos = pos ;
702721 } ,
@@ -740,6 +759,11 @@ pzpr.classmgr.makeCommon({
740759 border . removeLine ( ) ;
741760 }
742761 border . draw ( ) ;
762+
763+ if ( this . cursor . isActive ) {
764+ this . cursor . isActive = false ;
765+ this . cursor . draw ( ) ;
766+ }
743767 }
744768 this . prevPos = pos ;
745769 } ,
0 commit comments