summaryrefslogtreecommitdiffstats
path: root/graphics/src
diff options
context:
space:
mode:
authorLibravatar shan <shankern@protonmail.com>2022-10-06 19:13:40 -0700
committerLibravatar shan <shankern@protonmail.com>2022-10-06 19:13:40 -0700
commit72feba51bed41db0bc04b43167d5d3b43007fd44 (patch)
tree36fc28580f594656b4bd214df85145b8689d4660 /graphics/src
parent9c7bf417ac9c1ac72bcc55aa3cd5e8eb962243a2 (diff)
downloadiced-72feba51bed41db0bc04b43167d5d3b43007fd44.tar.gz
iced-72feba51bed41db0bc04b43167d5d3b43007fd44.tar.bz2
iced-72feba51bed41db0bc04b43167d5d3b43007fd44.zip
Fixed some imports/documentation.
Diffstat (limited to 'graphics/src')
-rw-r--r--graphics/src/gradient/linear.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/src/gradient/linear.rs b/graphics/src/gradient/linear.rs
index 1ffe7cf9..6bf69b43 100644
--- a/graphics/src/gradient/linear.rs
+++ b/graphics/src/gradient/linear.rs
@@ -42,6 +42,7 @@ impl Builder {
self.valid = false;
}
+ //TODO: can sort on insert here
self.stops.push((offset, color));
self
}