add thin type 3 test

This commit is contained in:
Stewart Allen 2025-02-23 14:50:24 -05:00
commit 91ad27f540
5 changed files with 69 additions and 3 deletions

View file

@ -114,7 +114,8 @@ const LISTS = {
thin: [
{ name: "off" },
{ name: "type 1" },
{ name: "type 2" }
{ name: "type 2" },
{ name: "type 3" }
]
};

View file

@ -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);