Feat: cleanup
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
//! Application state: owns the project, editor context, and all UI/playback state.
|
||||
|
||||
mod clipboard;
|
||||
mod dispatch;
|
||||
mod editing;
|
||||
@@ -54,8 +56,8 @@ pub struct App {
|
||||
pub script_engine: ScriptEngine,
|
||||
pub variables: Variables,
|
||||
pub dict: Dictionary,
|
||||
#[allow(dead_code)]
|
||||
pub rng: Rng,
|
||||
// Held to keep the Arc alive (shared with ScriptEngine).
|
||||
pub _rng: Rng,
|
||||
pub live_keys: Arc<LiveKeyState>,
|
||||
pub clipboard: Option<arboard::Clipboard>,
|
||||
pub copied_patterns: Option<Vec<Pattern>>,
|
||||
@@ -108,7 +110,7 @@ impl App {
|
||||
metrics: Metrics::default(),
|
||||
variables,
|
||||
dict,
|
||||
rng,
|
||||
_rng: rng,
|
||||
live_keys,
|
||||
script_engine,
|
||||
clipboard: arboard::Clipboard::new().ok(),
|
||||
|
||||
Reference in New Issue
Block a user