buzsh / SwiftDiffusion

SwiftUI Stable Diffusion implementation using CoreML and PyTorch
GNU General Public License v3.0
149 stars 3 forks source link

fix: delete active on non sidebar focus item #46

Closed buzsh closed 5 months ago

buzsh commented 5 months ago

Issue involving the sidebar delete key triggering globally.

Expected behavior: Clicking the Delete key while I side bar item is active should prompt you to delete it.

Issue: Delete key triggers globally after a sidebar item has been brought into focus.

Reproducible steps: Select a Sidebar item, start entering text into the positive prompt and try deleting that text.

buzsh commented 5 months ago

Fixed issue. Need to refactor as "Unsaved Prompts" sidebar context for temporary workspace to bring it all together.