Rename tools: "Sample" to "Eyedropper", "Blur/Sharpen" to "Detail" (#87)

This commit is contained in:
Keavon Chambers
2021-04-29 00:50:55 -07:00
parent b6ce559d86
commit 3b32184906
8 changed files with 14 additions and 14 deletions

View File

@@ -6,9 +6,9 @@ use document_core::Operation;
use super::DocumentToolData;
#[derive(Default)]
pub struct Sample;
pub struct Eyedropper;
impl Tool for Sample {
impl Tool for Eyedropper {
fn handle_input(&mut self, event: &Event, document: &Document, tool_data: &DocumentToolData) -> (Vec<Response>, Vec<Operation>) {
todo!("{}::handle_input {:?} {:?} {:?}", module_path!(), event, document, tool_data)
}

View File

@@ -1,11 +1,11 @@
mod crop;
mod ellipse;
mod eyedropper;
mod line;
mod navigate;
mod path;
mod pen;
mod rectangle;
mod sample;
mod select;
mod shape;
@@ -61,7 +61,7 @@ impl Default for ToolFsmState {
Select => select::Select,
Crop => crop::Crop,
Navigate => navigate::Navigate,
Sample => sample::Sample,
Eyedropper => eyedropper::Eyedropper,
Path => path::Path,
Pen => pen::Pen,
Line => line::Line,
@@ -114,7 +114,7 @@ pub enum ToolType {
Select,
Crop,
Navigate,
Sample,
Eyedropper,
Text,
Fill,
Gradient,
@@ -142,7 +142,7 @@ impl fmt::Display for ToolType {
Select,
Crop,
Navigate,
Sample,
Eyedropper,
Text,
Fill,
Gradient,