Skip to content

Conversation

@SharkPool-SP
Copy link
Collaborator

Fixes a niche issue brought up in discord. Essentially, my code does fix sprites not receiving camera updates while hidden, but it seemed to not receive sprite updates (so normal motion blocks).

Anyways the fix was just refactoring the code, nothing too special, but it does fix the issue.

@github-actions github-actions bot added the pr: change existing extension Pull requests that change an existing extension label Jan 1, 2026

// save some renderer calls, packing this all into one
// while running only when isVisible is true combines this
// into a single renderer call
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesnt matter but updateProperties is not faster, it just calls updatePosition etc. one-by-one

@GarboMuffin
Copy link
Member

By the way, this is not a niche issue at all. Just need to hide a sprite, show it, then try to move it. It gets stuck where it was.

@GarboMuffin GarboMuffin merged commit e62a45a into master Jan 1, 2026
5 checks passed
@GarboMuffin GarboMuffin deleted the SharkPool-SP-patch-7 branch January 1, 2026 20:00
GarboMuffin added a commit to TurboWarp/desktop that referenced this pull request Jan 1, 2026
@SharkPool-SP
Copy link
Collaborator Author

Sounds pretty niche

@GarboMuffin
Copy link
Member

do you actually think that showing a sprite then trying to move it is niche?

@SharkPool-SP
Copy link
Collaborator Author

Niche is a funny word muffin man

ampelectrecuted pushed a commit to ampelectrecuted/twextensions that referenced this pull request Jan 9, 2026
…into mesh

* 'mesh' of ssh://github.com/ampelectrecuted/twextensions:
  [Automated] Update translations 2026-01-03 (TurboWarp#2378)
  SharkPool/Camera: Fix critical regression from previous commit (TurboWarp#2376)
  SharkPool/Camera V2 -- Fix hidden sprites not receiving camera updates (TurboWarp#2372)
  [Automated] Update translations 2025-12-31 (TurboWarp#2374)
  text.js -- Add array of regex matches block (TurboWarp#2306)
  Revert "SharkPool/CameraV2 -- Fix hidden sprites not receiving camera updates" (TurboWarp#2371)
  cursor: translate cursor menu (TurboWarp#2076)
  SharkPool/CameraV2: Fix hidden sprites not receiving camera updates (TurboWarp#2359)
  local-storage: fix it generally not working (TurboWarp#2368)
  [Automated] Update translations 2025-12-20 (TurboWarp#2362)
  [Automated] Update translations 2025-12-17 (TurboWarp#2360)
  [Automated] Update translations 2025-12-13 (TurboWarp#2358)
  build(deps): bump @turbowarp/types from `c54f2cc` to `938c3ab` (TurboWarp#2355)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: change existing extension Pull requests that change an existing extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants