do not stack new widgets, related #219

This commit is contained in:
Alexander Drozdov
2022-01-28 17:19:58 +02:00
parent 85854b5f5c
commit 6ea4e813f7
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -58,8 +58,8 @@ export default defineComponent({
props.config.wmFlags = ['invisible-on-blur']
props.config.anchor = {
pos: 'tc',
x: 50,
y: 10
x: (Math.random() * (60 - 40) + 40),
y: (Math.random() * (15 - 5) + 5)
}
props.config.images = [{
id: 1, url: 'syndicate.jpg'
+2 -2
View File
@@ -64,8 +64,8 @@ export default defineComponent({
props.config.wmFlags = ['invisible-on-blur']
props.config.anchor = {
pos: 'tl',
x: 30,
y: 30
x: (Math.random() * (40 - 20) + 20),
y: (Math.random() * (40 - 20) + 20)
}
props.config.entries = [{
id: 1, text: 'Currency'
+2 -2
View File
@@ -34,8 +34,8 @@ export default defineComponent({
props.config.wmFlags = []
props.config.anchor = {
pos: 'cc',
x: 50,
y: 50
x: (Math.random() * (60 - 40) + 40),
y: (Math.random() * (60 - 40) + 40)
}
wm.show(props.config.wmId)
}