diff --git a/frontend/src/components/icons/WindowClose.vue b/frontend/src/components/icons/WindowClose.vue
index 5a111f7..0bba432 100644
--- a/frontend/src/components/icons/WindowClose.vue
+++ b/frontend/src/components/icons/WindowClose.vue
@@ -2,17 +2,15 @@
const props = defineProps({
size: {
type: [Number, String],
- default: 12,
+ default: 14,
},
})
-
diff --git a/frontend/src/components/icons/WindowMax.vue b/frontend/src/components/icons/WindowMax.vue
index 2786085..ef55258 100644
--- a/frontend/src/components/icons/WindowMax.vue
+++ b/frontend/src/components/icons/WindowMax.vue
@@ -2,14 +2,18 @@
const props = defineProps({
size: {
type: [Number, String],
- default: 12,
+ default: 14,
},
})
-
-
+
+
diff --git a/frontend/src/components/icons/WindowMin.vue b/frontend/src/components/icons/WindowMin.vue
index e154809..a298dee 100644
--- a/frontend/src/components/icons/WindowMin.vue
+++ b/frontend/src/components/icons/WindowMin.vue
@@ -2,14 +2,14 @@
const props = defineProps({
size: {
type: [Number, String],
- default: 12,
+ default: 14,
},
})
-
-
+
+
diff --git a/frontend/src/components/icons/WindowRestore.vue b/frontend/src/components/icons/WindowRestore.vue
new file mode 100644
index 0000000..da87f4f
--- /dev/null
+++ b/frontend/src/components/icons/WindowRestore.vue
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/main.go b/main.go
index ec3bc0c..94ed2bb 100644
--- a/main.go
+++ b/main.go
@@ -10,7 +10,6 @@ import (
"github.com/wailsapp/wails/v2/pkg/options/linux"
"github.com/wailsapp/wails/v2/pkg/options/mac"
"github.com/wailsapp/wails/v2/pkg/options/windows"
- runtime2 "github.com/wailsapp/wails/v2/pkg/runtime"
"runtime"
"tinyrdm/backend/consts"
"tinyrdm/backend/services"
@@ -57,14 +56,6 @@ func main() {
sysSvc.Start(ctx)
connSvc.Start(ctx)
},
- OnBeforeClose: func(ctx context.Context) (prevent bool) {
- // save current window size
- width, height := runtime2.WindowGetSize(ctx)
- if width > 0 && height > 0 {
- prefSvc.SaveWindowSize(width, height)
- }
- return false
- },
OnShutdown: func(ctx context.Context) {
connSvc.Stop(ctx)
},