Make Background a native feature
- Background replaces the Background Slideshow plugin and the background image of Appearance. It shows a folder as a slideshow, or one image. - It is on by default. Its module loads at launch only when a folder or an image is chosen. - Rust keeps the one folder in background-folder.json. The interface never sends a path. Eight background_* commands replace the six deprecated backgrounds_* commands. - The first start moves the slideshow folder and settings, and keeps the saved image as the image source. - One blur worker with a cache, fewer folder reads, and a decode before each fade. The hub writes only the changed properties. - Remove the deprecated folder methods of api.backgrounds. set, get, and subscribe stay for the Project Management plugin. - Show the view buttons in the workbench test without text, after UI-056. - Update the tests, the measurement tool, the docs, and UI-057.
This commit is contained in:
@@ -38,12 +38,14 @@ pub fn run() {
|
||||
.manage(preferences::PreferencesState::default())
|
||||
.manage(tab_transfer::TabTransferState::default())
|
||||
.invoke_handler(tauri::generate_handler![
|
||||
backgrounds::backgrounds_choose_folder,
|
||||
backgrounds::backgrounds_default_folder,
|
||||
backgrounds::backgrounds_list,
|
||||
backgrounds::backgrounds_read,
|
||||
backgrounds::backgrounds_read_image_settings,
|
||||
backgrounds::backgrounds_write_image_settings,
|
||||
backgrounds::background_choose_folder,
|
||||
backgrounds::background_folder,
|
||||
backgrounds::background_clear_folder,
|
||||
backgrounds::background_list,
|
||||
backgrounds::background_read,
|
||||
backgrounds::background_read_sidecar,
|
||||
backgrounds::background_write_sidecar,
|
||||
backgrounds::background_migrate,
|
||||
folders::folders_choose,
|
||||
folders::folders_picture,
|
||||
folders::folders_grants,
|
||||
|
||||
Reference in New Issue
Block a user