File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 "MouseEvent@lits,invlitso" : {
2828 inputModes : {
2929 edit : [ "border" , "info-blk" ] ,
30- play : [ "shade" , "unshade" , "info-blk" ]
30+ play : [ "shade" , "unshade" , "peke" , "info-blk" ]
31+ } ,
32+ mouseinput_auto : function ( ) {
33+ if ( this . puzzle . playmode ) {
34+ if (
35+ this . btn === "right" &&
36+ this . mousestart &&
37+ this . inputpeke_ifborder ( )
38+ ) {
39+ return ;
40+ }
41+ if (
42+ ( this . mousestart || this . mousemove ) &&
43+ ( ! this . firstCell . isnull || this . notInputted ( ) )
44+ ) {
45+ this . inputcell ( ) ;
46+ }
47+ } else if ( this . puzzle . editmode ) {
48+ if ( this . mousestart || this . mousemove ) {
49+ this . inputborder ( ) ;
50+ }
51+ }
3152 }
3253 } ,
3354 "MouseEvent@norinori" : {
171192 this . drawGrid ( ) ;
172193
173194 this . drawBorders ( ) ;
195+ this . drawPekes ( ) ;
174196
175197 this . drawChassis ( ) ;
176198 }
231253 this . decodeAreaRoom ( ) ;
232254 }
233255 this . decodeCellAns ( ) ;
256+ this . decodeBorderLine ( ) ;
234257 } ,
235258 encodeData : function ( ) {
236259 this . filever = 1 ;
237260 this . encodeBorderQues ( ) ;
238261 this . encodeCellAns ( ) ;
262+ this . encodeBorderLineIfPresent ( ) ;
239263 } ,
240264
241265 kanpenOpen : function ( ) {
You can’t perform that action at this time.
0 commit comments