Set text color based on its fill when it's being edited

This commit is contained in:
Keavon Chambers
2022-03-04 12:15:42 -08:00
parent 0bdb08f34d
commit bd9571103e
4 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ pub enum FrontendMessage {
DisplayDialogError { title: String, description: String },
DisplayDialogPanic { panic_info: String, title: String, description: String },
DisplayDocumentLayerTreeStructure { data_buffer: RawBuffer },
DisplayEditableTextbox { text: String, line_width: Option<f64>, font_size: f64 },
DisplayEditableTextbox { text: String, line_width: Option<f64>, font_size: f64, color: Color },
DisplayRemoveEditableTextbox,
// Trigger prefix: cause a browser API to do something