Skip to content

Commit

Permalink
fixed mr's commands and padding.
Browse files Browse the repository at this point in the history
modified:   multirun.json
modified:   src/gui/scenes.rs
  • Loading branch information
DarkJoij committed Sep 14, 2023
1 parent b160de4 commit 00e2d99
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions multirun.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"dbg": "cargo run",
"fnl": "cargo run --release",
"ult": "cargo run --features ultimate"
"dbg": "cargo r",
"fnl": "cargo r --release",
"ult": "cargo r --features ultimate"
}
7 changes: 3 additions & 4 deletions src/gui/scenes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub fn get_scene<'a>(data: &'a DataStore) -> ShortElement<'a> {
DisplayableResult::Success(result) => result.to_owned(),
};

main = main.push(get_default_text(content)); // FIXME: Must be dropped?!?
main = main.push(get_default_text(content));
}

main.into()
Expand Down Expand Up @@ -84,9 +84,8 @@ fn get_trigonometry_pages<'a>(data: &DataStore) -> Column<'a, Message> {

let text = get_default_text("Тригонометрические функции:".to_owned());

let functions = get_default_column()
/*Column::new() // Must be without padding.
.align_items(Alignment::Center) */
let functions = Column::new() // Must be without padding.
.align_items(Alignment::Center)
.push(get_default_text_input("sin", field_1, Message::UpdateCell1))
.push(get_default_text_input("cos", field_2, Message::UpdateCell3))
.push(get_default_text_input("tan", field_3, Message::UpdateCell3))
Expand Down

0 comments on commit 00e2d99

Please sign in to comment.