Skip to content

Remove the unused left() and top() methods of BreakpointConditionInputComponent #9110

Closed

Description

@aglinxinyuan

Task Summary

BreakpointConditionInputComponent (frontend/src/app/workspace/component/code-editor-dialog/breakpoint-condition-input/) has two public positioning methods, left() and top(), that nothing in production calls. The popup is positioned by ngOnChanges, which computes topPosition/leftPosition for the template's [ngStyle] binding; the template, its one host (code-debugger) and every ViewChild reference never call the two methods. Only spec cases use them.

Introduced by #2953 (2024-10-25, "Add Udon breakpoint UI - breakpoint-related operations"), in the same commit as the [ngStyle] positioning that is actually used.

Usage removed by: never used.

Removing the two methods and the spec cases that only exercised them is a pure deletion with no behaviour change.

Task Type

  • Refactor / Cleanup

Activity

  1. self-assigned this
    on Oct 23, 2026
  2. added a commit that references this issue on Oct 25, 2026
    98b875f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions