Updated to new fast_autofocus URI
This commit is contained in:
parent
1783602174
commit
118ccaab6c
3 changed files with 4 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
"author": "OpenFlexure",
|
"author": "OpenFlexure",
|
||||||
"description": "An electron-based user client for the OpenFlexure Microscope Server",
|
"description": "An electron-based user client for the OpenFlexure Microscope Server",
|
||||||
"main": "app.js",
|
"main": "app.js",
|
||||||
"version": "0.1.1",
|
"version": "0.1.2-beta",
|
||||||
"license": "GNU General Public License v3.0 ",
|
"license": "GNU General Public License v3.0 ",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
|
|
@ -50,9 +50,11 @@ export default {
|
||||||
created: function () {
|
created: function () {
|
||||||
var context = this
|
var context = this
|
||||||
UIkit.util.on(document, 'hidden', '.toggle-hidden', function () {
|
UIkit.util.on(document, 'hidden', '.toggle-hidden', function () {
|
||||||
|
console.log("Sidebar hidden")
|
||||||
context.$root.$emit('globalResizePreview')
|
context.$root.$emit('globalResizePreview')
|
||||||
})
|
})
|
||||||
UIkit.util.on(document, 'shown', '.toggle-hidden', function () {
|
UIkit.util.on(document, 'shown', '.toggle-hidden', function () {
|
||||||
|
console.log("Sidebar shown")
|
||||||
context.$root.$emit('globalResizePreview')
|
context.$root.$emit('globalResizePreview')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -282,7 +282,7 @@ export default {
|
||||||
return this.$store.getters.uri + "/plugin/default/autofocus/autofocus"
|
return this.$store.getters.uri + "/plugin/default/autofocus/autofocus"
|
||||||
},
|
},
|
||||||
fastAutofocusApiUri: function () {
|
fastAutofocusApiUri: function () {
|
||||||
return this.$store.getters.uri + "/plugin/default/fast_autofocus/fast_autofocus"
|
return this.$store.getters.uri + "/plugin/default/autofocus/fast_autofocus"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue