diff --git a/app.js b/app.js index d967d896..a30aa034 100644 --- a/app.js +++ b/app.js @@ -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(); diff --git a/js/kiri-init.js b/js/kiri-init.js index eef03c75..4a0a95e9 100644 --- a/js/kiri-init.js +++ b/js/kiri-init.js @@ -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) diff --git a/web/kiri/index.css b/web/kiri/index.css index 10360edd..5d67077e 100644 --- a/web/kiri/index.css +++ b/web/kiri/index.css @@ -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;