Skip to content

Commit 429f030

Browse files
committed
sync always ontop during startup
1 parent 470ef55 commit 429f030

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "window-reader",
3-
"version": "1.1.6",
3+
"version": "1.1.7",
44
"scripts": {
55
"dev": "tauri dev",
66
"build": "tauri build"

src-tauri/Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "window_reader"
3-
version = "1.1.6"
3+
version = "1.1.7"
44
description = "A transparent notepad-like app"
55
authors = ["Ripwords"]
66
license = ""

src-tauri/tauri.conf.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"package": {
33
"productName": "window-reader",
4-
"version": "1.1.6"
4+
"version": "1.1.7"
55
},
66
"build": {
77
"distDir": "../dist",

src/components/Content.vue

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ const export2Word = async () => {
7272
onMounted(() => {
7373
toolbar.value.style.backgroundColor = `rgba(255, 255, 255, 0.95)`
7474
text.value.style.backgroundColor = store.theme === 'dark' ? `rgba(0, 0, 0, ${store.opacity / 100})` : `rgba(255, 255, 255, ${store.opacity / 100})`
75+
appWindow.setAlwaysOnTop(store.alwaysTop)
7576
})
7677
7778
watch([() => store.opacity, () => store.theme], () => {

0 commit comments

Comments
 (0)