From 04669ffeb163688c7aefd7b5face7998252abdca Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 10 Mar 2025 18:02:07 -0400 Subject: removed label creation from text's anchor menu. removed label creation from pdfs. --- src/client/views/smartdraw/StickerPalette.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/views/smartdraw') diff --git a/src/client/views/smartdraw/StickerPalette.tsx b/src/client/views/smartdraw/StickerPalette.tsx index d5307974f..e3305851a 100644 --- a/src/client/views/smartdraw/StickerPalette.tsx +++ b/src/client/views/smartdraw/StickerPalette.tsx @@ -151,7 +151,7 @@ export class StickerPalette extends ObservableReactComponent { return this._showRegenerate ? SmartDrawHandler.Instance.regenerate(prevDrawings, this._opts, this._gptRes[i], this._userInput) - : SmartDrawHandler.Instance.drawWithGPT({ X: 0, Y: 0 }, this._userInput, this._opts.complexity, this._opts.size, this._opts.autoColor); + : SmartDrawHandler.Instance.drawWithGPT({ X: 0, Y: 0 }, this._userInput, this._opts.complexity || 0, this._opts.size || 0, !!this._opts.autoColor); }) ).then(() => { this._opts.text !== '' ? (this._opts.text = `${this._opts.text} ~~~ ${this._userInput}`) : (this._opts.text = this._userInput); @@ -177,7 +177,7 @@ export class StickerPalette extends ObservableReactComponent