fix missing ua compat api. menu order. reduce font size

This commit is contained in:
Stewart Allen 2020-06-02 20:31:12 -04:00
commit 5b2271f005
3 changed files with 13 additions and 7 deletions

5
app.js
View file

@ -414,6 +414,11 @@ function handleVersion(req, res, next) {
}
function handleOptions(req, res, next) {
try {
req.app.ua = agent.parse(req.headers['user-agent'] || '');
} catch (e) {
logger.log("ua parse error on : "+req.headers['user-agent']);
}
if (req.method === 'OPTIONS') {
addCorsHeaders(req, res);
res.end();

View file

@ -1216,16 +1216,13 @@ var gs_kiri_init = exports;
[ UI.modePreview = UC.newButton(LANG.fn_prev, API.function.print) ],
[ UI.modeExport = UC.newButton(LANG.fn_expo, API.function.export) ]
]),
camera: UC.newGroup(LANG.vu_menu),
camTable: UC.newTableRow([
[ UC.newButton(LANG.vu_sptp, SPACE.view.top) ],
[ UC.newButton(LANG.vu_home, SPACE.view.home) ],
[ UC.newButton(LANG.vu_rset, SPACE.view.reset) ]
]),
workspace: UC.newGroup(LANG.ws_menu, undefined, {modes:ALL, expert:true}),
wsTable: UC.newTableRow([
[
UC.newButton(LANG.vu_sptp, SPACE.view.top),
UC.newButton(LANG.vu_home, SPACE.view.home),
],[
UI.saveButton =
UC.newButton(LANG.ws_save, API.space.save),
UC.newButton(LANG.ws_cler, API.space.clear)

View file

@ -533,8 +533,12 @@ input[type=range]::-moz-focus-outer {
.sel-span:hover .sel-pop {
display: block;
}
.compact .sel-span .value {
font-size: 16px;
color: #444466 !important;
}
.compact .sel-span label {
font-size: 24px;
font-size: 20px;
}
.compact .sel-span input {
font-size: 18px;