package: deps update, fix --read-only release 0.17.3
This commit is contained in:
parent
fec5ed9991
commit
246df5487a
6 changed files with 25 additions and 21 deletions
|
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
## 0.17.3
|
||||
|
||||
Hot fix for `--read-only` switch.
|
||||
|
||||
## 0.17.2
|
||||
|
||||
- bug fixes
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ module.exports = {
|
|||
if (settings.read('theme')) ipc.send('applyStyle',settings.read('theme'),clientId)
|
||||
|
||||
if (settings.read('readOnly')) {
|
||||
ipc.send('editorDisable',{permanent:true})
|
||||
ipc.send('readOnly')
|
||||
}
|
||||
|
||||
if (settings.read('newSession')) {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"name": "open-stage-control",
|
||||
"productName": "Open Stage Control",
|
||||
"description": "A libre desktop OSC bi-directionnal control surface application.",
|
||||
"version": "0.17.2",
|
||||
"version": "0.17.3",
|
||||
"main": "index.js",
|
||||
"author": {
|
||||
"name": "Jean-Emmanuel Doucet / AMMD",
|
||||
|
|
@ -10,12 +10,12 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"vmodule":"1.0.1",
|
||||
"electron-localshortcut": "1.0.0",
|
||||
"electron-localshortcut": "1.1.0",
|
||||
"osc": "2.2.0",
|
||||
"yargs": "6.6.0",
|
||||
"socket.io": "1.7.2",
|
||||
"socketio-wildcard": "0.3.0",
|
||||
"express": "4.14.0",
|
||||
"yargs": "7.0.2",
|
||||
"socket.io": "1.7.3",
|
||||
"socketio-wildcard": "0.4.0",
|
||||
"express": "4.15.2",
|
||||
"jquery-slim": "3.0.0",
|
||||
"chokidar": "1.6.1",
|
||||
"python-shell":"0.4.0"
|
||||
|
|
|
|||
16
package.json
16
package.json
|
|
@ -2,16 +2,16 @@
|
|||
"name": "open-stage-control-builder",
|
||||
"description": "A libre desktop OSC bi-directionnal control surface application - builder package",
|
||||
"dependencies": {
|
||||
"electron": "1.4.14",
|
||||
"mathjs": "3.9.0",
|
||||
"autolayout": "0.6.0",
|
||||
"browserify": "13.3.0",
|
||||
"electron": "1.6.2",
|
||||
"mathjs": "3.10.0",
|
||||
"autolayout": "0.7.0",
|
||||
"browserify": "14.1.0",
|
||||
"exorcist": "0.4.0",
|
||||
"node-sass": "^4.1.1",
|
||||
"nodemon": "^1.9.2",
|
||||
"socket.io-client": "1.7.2",
|
||||
"electron-installer-debian": "0.4.0",
|
||||
"electron-packager": "8.5.0"
|
||||
"socket.io-client": "1.7.3",
|
||||
"electron-installer-debian": "0.5.0",
|
||||
"electron-packager": "8.6.0"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "cp resources/images/logo.ico app/browser/favicon.ico && cd app && npm install && cd .. && npm run build-js && npm run build-css",
|
||||
|
|
@ -30,5 +30,5 @@
|
|||
"engines": {
|
||||
"node": "6"
|
||||
},
|
||||
"version": "0.17.2"
|
||||
"version": "0.17.3"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ module.exports = {
|
|||
})
|
||||
$('.editor').append(f)
|
||||
},
|
||||
editorDisable: function(permanent){
|
||||
editorDisable: function(){
|
||||
$('.widget.ui-resizable').resizable('destroy')
|
||||
$('.widget.ui-draggable').draggable('destroy').find('.ui-draggable-handle').remove()
|
||||
$('.editing').removeClass('editing')
|
||||
|
|
@ -156,12 +156,10 @@ module.exports = {
|
|||
$('body').removeClass('editor-enabled')
|
||||
$('#grid-width-input').remove()
|
||||
EDITING = false
|
||||
|
||||
if (permanent) {
|
||||
if (READ_ONLY) {
|
||||
module.exports.editorEnable = ()=>{}
|
||||
$('.editor .btn').remove()
|
||||
$('.editor .title').html($('.editor .title').html() + ' (disabled)').addClass('disabled')
|
||||
module.exports.editorEnable = ()=>{}
|
||||
READ_ONLY = true
|
||||
}
|
||||
},
|
||||
traversingDisable: function(){
|
||||
|
|
|
|||
|
|
@ -145,8 +145,10 @@ var callbacks = module.exports = {
|
|||
GRIDWIDTH = getComputedStyle(document.documentElement).getPropertyValue("--grid-width")
|
||||
PXSCALE = getComputedStyle(document.documentElement).getPropertyValue("--pixel-scale")
|
||||
INITIALZOOM = PXSCALE
|
||||
},
|
||||
readOnly: function(){
|
||||
READ_ONLY = true
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
var bindCallback = function(i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue