mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 08:38:11 +08:00
Reduce development environment warnings and remove DWARF debug symbols (#2741)
* Ignore tauri gen * Deny warnings on CI * Fix all warnings in current nightly rustc * Disable DWARF debug info for development builds * Fix typo --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
8e5abf65cb
commit
4344f28909
@@ -578,7 +578,9 @@ impl BoundingBoxManager {
|
||||
category,
|
||||
TransformCageSizeCategory::Full | TransformCageSizeCategory::Narrow | TransformCageSizeCategory::ReducedLandscape
|
||||
) {
|
||||
horizontal_edges.map(|point| draw_handle(point, horizontal_angle));
|
||||
for point in horizontal_edges {
|
||||
draw_handle(point, horizontal_angle);
|
||||
}
|
||||
}
|
||||
|
||||
// Draw the vertical midpoint drag handles
|
||||
@@ -586,7 +588,9 @@ impl BoundingBoxManager {
|
||||
category,
|
||||
TransformCageSizeCategory::Full | TransformCageSizeCategory::Narrow | TransformCageSizeCategory::ReducedPortrait
|
||||
) {
|
||||
vertical_edges.map(|point| draw_handle(point, vertical_angle));
|
||||
for point in vertical_edges {
|
||||
draw_handle(point, vertical_angle);
|
||||
}
|
||||
}
|
||||
|
||||
let angle = quad
|
||||
@@ -601,7 +605,9 @@ impl BoundingBoxManager {
|
||||
category,
|
||||
TransformCageSizeCategory::Full | TransformCageSizeCategory::ReducedBoth | TransformCageSizeCategory::ReducedLandscape | TransformCageSizeCategory::ReducedPortrait
|
||||
) {
|
||||
quad.0.map(|point| draw_handle(point, angle));
|
||||
for point in quad.0 {
|
||||
draw_handle(point, angle);
|
||||
}
|
||||
}
|
||||
|
||||
// Draw the flat line endpoint drag handles
|
||||
|
||||
Reference in New Issue
Block a user