fixed for firefox
This commit is contained in:
parent
a6f4ee3b3f
commit
6d40421992
4 changed files with 26 additions and 6 deletions
10
js/kiri.js
10
js/kiri.js
|
|
@ -746,9 +746,13 @@ self.kiri.license = exports.LICENSE;
|
|||
}
|
||||
|
||||
function showSlice(index, range, layer) {
|
||||
return range ?
|
||||
(index <= layer && index > layer-range) : (index <= layer);
|
||||
MODE === MODES.CAM ? (index >= layer) : (index <= layer);
|
||||
if (range) {
|
||||
return index <= layer && index > layer-range;
|
||||
} else if (MODE === MODES.CAM) {
|
||||
return index >= layer;
|
||||
} else {
|
||||
return index <= layer;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue