mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-09 05:58:11 +08:00
New node: Bevel (#2067)
* Bevel node * Fix clippy lints * Prevent negative values * Rename flipped() -> reversed() --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
63d44f22e3
commit
dae6b2f239
@@ -102,7 +102,7 @@ impl BezierHandles {
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn flipped(self) -> Self {
|
||||
pub fn reversed(self) -> Self {
|
||||
match self {
|
||||
BezierHandles::Cubic { handle_start, handle_end } => Self::Cubic {
|
||||
handle_start: handle_end,
|
||||
|
||||
Reference in New Issue
Block a user