mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 06:38:03 +08:00
* okayish solution should be improved at some point but for now it works well enough. * do leftover renames * better solution * less weird resize frames * move surface reconfiguration * fix recent desktop mac breakages * better looking resize on mac * fix background color * Fix blank screen on window initialization * cleanup --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
10 lines
297 B
Rust
10 lines
297 B
Rust
#[derive(clap::Parser)]
|
|
#[clap(name = "graphite", version)]
|
|
pub struct Cli {
|
|
#[arg(help = "Files to open on startup")]
|
|
pub files: Vec<std::path::PathBuf>,
|
|
|
|
#[arg(long, action = clap::ArgAction::SetTrue, help = "Disable hardware accelerated UI rendering")]
|
|
pub disable_ui_acceleration: bool,
|
|
}
|