Skip to content

[Feature] 希望暴露隐藏序号的参数 #661

Description

@QKLgit

Feature Description / 功能描述

Problem:
PageController / DomConfig 的 highlightOpacity、highlightLabelOpacity 设为 0 后,框选填充和标签背景会透明,但序号文字仍可见。原因是 dom_tree/index.js 里标签文字写死为 color: 'white',不受 opacity 配置影响。业务侧(如嵌入式引导、自定义 UI)无法通过公开 API 关闭观察时的框选序号层;内部虽有 doHighlightElements,但 getFlatTree 写死为 true,未暴露到 DomConfig。

Before submitting

  • I will be polite and respectful. / 我会保持礼貌与尊重。
  • I have read the CODE_OF_CONDUCT.md and CONTRIBUTING.md. / 我已阅读行为准则。
  • I have searched existing issues and this is not a duplicate.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions