Skip to content

Added animation fix for tahoe#392

Merged
shobhit99 merged 2 commits into
mainfrom
animation-fix
May 15, 2026
Merged

Added animation fix for tahoe#392
shobhit99 merged 2 commits into
mainfrom
animation-fix

Conversation

@shobhit99
Copy link
Copy Markdown
Contributor

No description provided.

shobhit99 and others added 2 commits May 15, 2026 18:18
The addon now hosts setWindowAnimationBehaviorNone alongside the paste
helpers, so the "fast_paste" name no longer described what it contained.
Renames the folder, source file, gyp target, NODE_API_MODULE id, and the
built artifact to native_helpers.node, and replaces the three inline
require() sites in main.ts with a single lazy getNativeHelpersAddon()
loader shared by paste and disableWindowAnimation.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@shobhit99 shobhit99 merged commit a3d0142 into main May 15, 2026
1 check passed
@shobhit99 shobhit99 deleted the animation-fix branch May 15, 2026 15:04
shobhit99 added a commit that referenced this pull request May 15, 2026
- clipboard-manager.ts: update addon loader from fast_paste.node →
  native_helpers.node and rename getFastPasteAddon → getNativeHelpersAddon
  to match the addon rename in #392. Remove stale readImage fallback block
  superseded by main's cleaner nativeImage path.
- native_helpers.mm: export both getPasteboardChangeCount (this branch)
  and setWindowAnimationBehaviorNone (from #392).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
shobhit99 added a commit that referenced this pull request May 15, 2026
- clipboard-manager.ts: update getFastPasteAddon → getNativeHelpersAddon /
  fast_paste.node → native_helpers.node (addon rename from #392). Adopt
  main's expanded image-format support (jpeg/webp/heic/tiff via
  readClipboardBufferForFormats, nativeImage fallback). Keep our changeCount
  optimisation and add fallbackImage to destructuring.
- native_helpers.mm: export both getPasteboardChangeCount (this branch)
  and setWindowAnimationBehaviorNone (from #392).
- package.json build:native: keep -framework AppKit for get-selected-text
  (required by the selected-text fix on this branch) while using
  native-helpers-addon / native_helpers.node paths from main's rename.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant