add thin type 3 test
This commit is contained in:
parent
382e0cd5d7
commit
91ad27f540
5 changed files with 69 additions and 3 deletions
|
|
@ -114,7 +114,8 @@ const LISTS = {
|
|||
thin: [
|
||||
{ name: "off" },
|
||||
{ name: "type 1" },
|
||||
{ name: "type 2" }
|
||||
{ name: "type 2" },
|
||||
{ name: "type 3" }
|
||||
]
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1863,6 +1863,11 @@ gapp.register("kiri.init", (root, exports) => {
|
|||
const current = settings();
|
||||
const control = current.controller;
|
||||
|
||||
if (!control.devel) {
|
||||
// TODO: hide thin type 3 during development
|
||||
kiri.consts.LISTS.thin.length = 3;
|
||||
}
|
||||
|
||||
platform.deselect();
|
||||
catalog.addFileListener(updateCatalog);
|
||||
space.view.setZoom(control.reverseZoom, control.zoomSpeed);
|
||||
|
|
|
|||
Loading…
Reference in a new issue