Skip to content

Commit

Permalink
renamed to scecnarium
Browse files Browse the repository at this point in the history
  • Loading branch information
xorza committed Nov 1, 2023
1 parent 6a0c665 commit 48e5ddd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Editor/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub struct AppState {
logger: Logger,
}

pub struct NodeshopApp {
pub struct ScenariumApp {
state: EditorState,
user_state: AppState,
function_templates: FunctionTemplates,
Expand All @@ -43,7 +43,7 @@ pub struct NodeshopApp {
}


impl eframe::App for NodeshopApp {
impl eframe::App for ScenariumApp {
fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) {
egui::TopBottomPanel::bottom("test")
.show(ctx, |ui| {
Expand Down Expand Up @@ -103,7 +103,7 @@ impl eframe::App for NodeshopApp {
}
}

impl NodeshopApp {
impl ScenariumApp {
pub(crate) fn new(cc: &CreationContext) -> Self {
let egui_ctx = cc.egui_ctx.clone();
let functions: Arc<Mutex<Vec<Function>>> = Arc::new(Mutex::new(Vec::new()));
Expand All @@ -122,7 +122,7 @@ impl NodeshopApp {
);
let logger = worker.logger.clone();

NodeshopApp {
ScenariumApp {
state: EditorState::default(),
function_templates,
user_state: AppState {
Expand Down
6 changes: 3 additions & 3 deletions Editor/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use ::common::log_setup::setup_logging;

use crate::app::NodeshopApp;
use crate::app::ScenariumApp;

mod app;
mod function_templates;
Expand All @@ -17,11 +17,11 @@ fn main() {
setup_logging("info");

eframe::run_native(
"Nodeshop",
"Scenarium",
eframe::NativeOptions::default(),
Box::new(|cc| {
cc.egui_ctx.set_visuals(eframe::egui::Visuals::dark());
let app = Box::new(NodeshopApp::new(cc));
let app = Box::new(ScenariumApp::new(cc));

app
}),
Expand Down
2 changes: 1 addition & 1 deletion Graph/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "graph"
version = "0.1.1"
edition = "2021"
description = "A graph library for Nodeshop"
description = "A graph library for Scenarium"

[features]
wgpu = ["imaginarium/wgpu"]
Expand Down
2 changes: 1 addition & 1 deletion Graph/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ mod tests {
event_index: 1,
},
|| async move {
tokio::time::sleep(tokio::time::Duration::from_millis(12)).await;
tokio::time::sleep(tokio::time::Duration::from_millis(20)).await;
},
);

Expand Down

0 comments on commit 48e5ddd

Please sign in to comment.