mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Create window with full hd size
This commit is contained in:
committed by
Keavon Chambers
parent
8cd161f087
commit
dccb5235c0
@@ -26,10 +26,7 @@ impl NodeGraphUpdateSender for UpdateLogger {
|
||||
}
|
||||
|
||||
fn main() -> Result<(), Box<dyn Error>> {
|
||||
let colors = ColoredLevelConfig::new()
|
||||
.debug(Color::Magenta)
|
||||
.info(Color::Green)
|
||||
.error(Color::Red);
|
||||
let colors = ColoredLevelConfig::new().debug(Color::Magenta).info(Color::Green).error(Color::Red);
|
||||
fern::Dispatch::new()
|
||||
.chain(std::io::stdout())
|
||||
.level_for("foodcalc", log::LevelFilter::Trace)
|
||||
@@ -72,9 +69,11 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
node_graph_message_sender: &UpdateLogger {},
|
||||
imaginate_preferences: &ImaginatePreferences::default(),
|
||||
};
|
||||
loop {
|
||||
let result = block_on((&executor).execute(editor_api.clone()))?;
|
||||
println!("result: {:?}", result);
|
||||
}
|
||||
|
||||
let result = block_on((&executor).execute(editor_api))?;
|
||||
println!("result: {:?}", result);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user