mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-04-21 21:24:05 +02:00
style: formatting
This commit is contained in:
parent
7e6b2f8b63
commit
f2f554074b
22 changed files with 1493 additions and 1171 deletions
|
@ -6,6 +6,7 @@
|
|||
mod api;
|
||||
mod utils;
|
||||
|
||||
use tauri::window::{Effect, EffectState, EffectsBuilder};
|
||||
use tauri::Manager;
|
||||
use tauri::WebviewUrl;
|
||||
use tauri::WebviewWindow;
|
||||
|
@ -45,7 +46,9 @@ fn main() {
|
|||
.visible(false)
|
||||
.decorations(false)
|
||||
.transparent(true)
|
||||
.always_on_top(false)
|
||||
.always_on_top(true)
|
||||
.content_protected(true)
|
||||
.visible_on_all_workspaces(true)
|
||||
.build()?
|
||||
};
|
||||
|
||||
|
@ -68,6 +71,13 @@ fn main() {
|
|||
api::updater::check_for_updates(app_handle).await;
|
||||
});
|
||||
|
||||
main_window.set_effects(
|
||||
EffectsBuilder::new()
|
||||
.effect(Effect::Popover)
|
||||
.state(EffectState::Active)
|
||||
.build(),
|
||||
)?;
|
||||
|
||||
Ok(())
|
||||
})
|
||||
.on_window_event(|_app, _event| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue