Skip to content

v2.9.0 - 科学资源板 Scientific Resource Panel

Choose a tag to compare

@ChepleBob30 ChepleBob30 released this 21 Feb 13:29
· 16 commits to main since this release
  • 本更新为ResourcePanel扩展了大量实用功能,并修复了一些问题。
    • AutoFit现在可以额外预留滚动空间;
    • 添加了PanelStorage,用于存储ResourcePanel内部资源的一些信息;
    • 移除了custom_layout和overall_layout,现在只能通过layout设定全局排版方式;
    • 支持ResourcePanel隐藏资源;
    • 现在滚动方向可以通过reverse_scroll_direction来反转,且同一时间只能朝一个方向滚动;
    • 修复了滚动条显示错误的问题;
    • 可以通过auto_shrink来自动控制资源缩放,以进行动态排版;
    • 将unsafe_request_jump_render_list重命名为try_request_jump_render_list;
    • 现在Switch可以让其背景和文本继承它的标签了;
    • Switch可以隐藏了;
    • 修复了Switch点按判定逻辑问题,现在需要在Switch上按下鼠标按键并松开才能触发;
    • 现在HintText不会在完全透明后被调用;
    • 将ResourcePanel的鼠标缩放判定区域减小了;
    • 现在ResourcePanel被点击后会自动置顶;
    • 修复了一些已知问题。

  • This update expands ResourcePanel with extensive practical features and addresses several issues.
    • AutoFit now supports allocating additional scroll margin;
    • Added PanelStorage to store internal resource metadata in ResourcePanel;
    • Deprecated custom_layout and overall_layout - unified layout configuration via layout setter;
    • Implemented dynamic resource hiding capability in ResourcePanel;
    • Scroll direction reversal via reverse_scroll_direction now supports axis-specific control with single-direction enforcement;
    • Fixed scrollbar visibility logic inconsistencies;
    • Introduced auto_shrink for automatic resource scaling in dynamic layout adjustments;
    • Renamed unsafe_request_jump_render_list to try_request_jump_render_list;
    • Switch components now support tag inheritance for background and text elements;
    • Implemented visibility control for Switch components;
    • Addressed Switch press detection logic - now requires mouse button down/up sequence on component;
    • HintText now respects opacity threshold detection to prevent activation when fully transparent;
    • Reduced mouse interaction area for ResourcePanel;
    • ResourcePanel now automatically brings itself to frontmost layer upon click;
    • Fixed several known issues.