Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlcctrlv committed Mar 12, 2023
1 parent 1c91f5e commit e42e1a2
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/editor/operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ impl Editor {
continue;
}

let build_result = glif_contour.operation.build(glif_contour);
let build_result = glif_contour.operation().build(glif_contour);

for new_contour in build_result {
preview_outline.push(new_contour.to_cubic());
Expand Down
1 change: 0 additions & 1 deletion src/editor/selection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ use serde_json;
use shrinkwraprs;

use super::Editor;
use crate::contour_operations::ContourOperation;
use crate::user_interface::gui;


Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ fn main() {
}*/
Command::DeleteSelection => {
if editor.selected.is_empty() && editor.point_idx.is_some() {
editor.simplify_selection();
editor.simplify_cubic_selection();
} else {
editor.delete_selection();
}
Expand Down
2 changes: 1 addition & 1 deletion src/tools/shapes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ impl Shapes {
};
self.corners = sd.corners;

let mfek_o: Vec<MFEKContour<MFEKGlifPointData>> =
let mfek_o: Vec<MFEKContour<MFEKPointData>> =
o.iter().map(|e| e.into()).collect();
v.get_active_layer_mut().outline.extend(mfek_o);
self.dropped_shape = true;
Expand Down

0 comments on commit e42e1a2

Please sign in to comment.