aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreleanor-park <eleanor_park@brown.edu>2024-12-04 23:00:55 -0500
committereleanor-park <eleanor_park@brown.edu>2024-12-04 23:00:55 -0500
commit2577ff5a88be04a840c4ac55360265b35d08fe19 (patch)
treeddf25cf8505777713a77a9803f0509c667ffcc44
parentbf46473a8a19a2af6b3f5ef069cfd20871bebbcf (diff)
created drawing fill handler
-rw-r--r--src/client/views/PropertiesView.tsx2
-rw-r--r--src/client/views/smartdraw/DrawingFillHandler.tsx0
2 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx
index c539b1d0a..18b485487 100644
--- a/src/client/views/PropertiesView.tsx
+++ b/src/client/views/PropertiesView.tsx
@@ -995,7 +995,7 @@ export class PropertiesView extends ObservableReactComponent<PropertiesViewProps
toggleType={ToggleType.BUTTON}
onClick={undoable(() => {
SmartDrawHandler.Instance.colorWithGPT(targetDoc);
- }, 'smoothStrokes')}
+ }, 'colorWithGPT')}
/>
</div>
)}
diff --git a/src/client/views/smartdraw/DrawingFillHandler.tsx b/src/client/views/smartdraw/DrawingFillHandler.tsx
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/src/client/views/smartdraw/DrawingFillHandler.tsx