Sfoglia il codice sorgente

优化当前角度显示,调整标签可见性以提升用户界面简洁性

zhch158_admin 2 mesi fa
parent
commit
e0c3d8291d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      ocr_validator_layout.py

+ 1 - 1
ocr_validator_layout.py

@@ -411,7 +411,7 @@ class OCRLayoutManager:
         with col4:
             # 显示当前角度状态
             current_angle = self.get_rotation_angle()
-            st.metric("当前角度", f"{current_angle}°")
+            st.metric("当前角度", f"{current_angle}°", label_visibility="collapsed")
 
          # 方向检测控制面板
         with st.expander("🔄 图片方向检测", expanded=False):