minor editing tweaks
This commit is contained in:
1 parent
eafc618792
commit
fa75401278
1 file changed
+2
-2
@@ -28,7 +28,7 @@ __config() -> {
|
|||||||
'pointing'->{'type'->'term','suggest'->['up','down']},
|
'pointing'->{'type'->'term','suggest'->['up','down']},
|
||||||
'hollow'->{'type'->'term','suggest'->['hollow','solid']},
|
'hollow'->{'type'->'term','suggest'->['hollow','solid']},
|
||||||
},
|
},
|
||||||
'scope'->'global'
|
'scope'->'global'//todo decide whether it rly needs to be global or not...
|
||||||
};
|
};
|
||||||
|
|
||||||
_block_matches(existing, block_predicate) ->
|
_block_matches(existing, block_predicate) ->
|
||||||
@@ -48,7 +48,7 @@ draw(what, args, block, replacement)->(//custom setter cos it's easier
|
|||||||
|
|
||||||
for(positions,
|
for(positions,
|
||||||
existing = block(_);
|
existing = block(_);
|
||||||
if(block != existing && (!replacement || _block_matches(existing, replacement) ),
|
if(block != existing && (!replacement || _block_matches(existing, replacement)),
|
||||||
affected += bool(set(existing,block))
|
affected += bool(set(existing,block))
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user