You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The implementation of viewport.unbind seems like a bug
cause it only unbind the zoom property
if we bind the viewport to an entity and then unbind it and also set the x property then it won't work
like:
viewport.bindToEntity(player);
viewport.unbind();
viewport.setX(1000);//it doesn't work
and I checked the source code the proper way of real unbind should be:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi:
The implementation of viewport.unbind seems like a bug
cause it only unbind the zoom property
if we bind the viewport to an entity and then unbind it and also set the x property then it won't work
like:
and I checked the source code the proper way of real unbind should be:
so is it a bug of the code?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions