minor cursor handling refactor improvemnts
This commit is contained in:
@@ -5,6 +5,7 @@ use crate::{
|
||||
app_data::{init_app_data_scoped, AppDataRefreshScope},
|
||||
app_state,
|
||||
friends,
|
||||
neko_positions,
|
||||
presence_modules::models::ModuleMetadata,
|
||||
sprite,
|
||||
},
|
||||
@@ -53,6 +54,12 @@ pub fn get_app_state() -> Result<AppState, String> {
|
||||
Ok(app_state::get_snapshot())
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
#[specta::specta]
|
||||
pub fn get_neko_positions() -> Result<neko_positions::NekoPositionsDto, String> {
|
||||
Ok(neko_positions::get_snapshot())
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
#[specta::specta]
|
||||
pub fn set_scene_setup_nekos_position(nekos_position: Option<NekoPosition>) {
|
||||
|
||||
Reference in New Issue
Block a user