Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ViewportNode: Clean up #29241

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
cleanup
  • Loading branch information
sunag committed Aug 27, 2024
commit d10da68f517c417416831355e3ba99fbe1105f1f
7 changes: 2 additions & 5 deletions src/nodes/display/ViewportNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,7 @@ class ViewportNode extends Node {
ViewportNode.COORDINATE = 'coordinate';
ViewportNode.RESOLUTION = 'resolution';
ViewportNode.VIEWPORT = 'viewport';
ViewportNode.TOP_LEFT = 'topLeft';
ViewportNode.BOTTOM_LEFT = 'bottomLeft';
ViewportNode.TOP_RIGHT = 'topRight';
ViewportNode.BOTTOM_RIGHT = 'bottomRight';
ViewportNode.UV = 'uv';

export default ViewportNode;

Expand All @@ -122,7 +119,7 @@ registerNodeClass( 'Viewport', ViewportNode );
export const viewportCoordinate = nodeImmutable( ViewportNode, ViewportNode.COORDINATE );
export const viewportResolution = nodeImmutable( ViewportNode, ViewportNode.RESOLUTION );
export const viewport = nodeImmutable( ViewportNode, ViewportNode.VIEWPORT );
export const viewportUV = nodeImmutable( ViewportNode, ViewportNode.TOP_LEFT );
export const viewportUV = nodeImmutable( ViewportNode, ViewportNode.UV );

export const viewportTopLeft = /*@__PURE__*/ ( Fn( () => { // @deprecated, r168

Expand Down