Commit 914a4d5
refactor(shortcut): remove redundant updateNSView implementation
This commit removes the unnecessary updateNSView implementation from KeyHolderWrapper.
The removed code was restoring key combos whenever the view was updated, but this functionality is already properly handled in makeNSView. Since KeyHolderWrapper doesn't have any state properties that would trigger view updates, the updateNSView method was performing redundant work without any practical benefit.
This change improves performance by eliminating unnecessary key combo restoration calls and makes the code cleaner and more maintainable.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent fb7adf6 commit 914a4d5
1 file changed
+1
-6
lines changedLines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 45 | + | |
51 | 46 | | |
52 | 47 | | |
53 | 48 | | |
| |||
0 commit comments