From b5e8abad0490e47b52d300d2d0c48425c3fac4f3 Mon Sep 17 00:00:00 2001 From: skal Date: Fri, 13 Feb 2026 16:08:06 +0100 Subject: CNN v2 test tool: UI improvements and video playback fixes - Change Depth control from number input to slider (0-1 range) - Move video controls to floating overlay at top of canvas - Remove View mode indicator from header (shortcuts still work) - Remove scrollbar from Layer Visualization panel - Fix layer viz flickering during video playback - Fix video controls responsiveness during playback Co-Authored-By: Claude Sonnet 4.5 --- tools/cnn_v2_test/index.html | 77 +++++++++++++++++++++++--------------------- 1 file changed, 41 insertions(+), 36 deletions(-) (limited to 'tools/cnn_v2_test/index.html') diff --git a/tools/cnn_v2_test/index.html b/tools/cnn_v2_test/index.html index 95ec788..79c54b7 100644 --- a/tools/cnn_v2_test/index.html +++ b/tools/cnn_v2_test/index.html @@ -120,6 +120,19 @@ position: relative; background: #1a1a1a; } + .video-controls-float { + position: absolute; + top: 16px; + left: 50%; + transform: translateX(-50%); + display: flex; + gap: 8px; + background: rgba(42, 42, 42, 0.95); + padding: 8px 12px; + border-radius: 4px; + border: 1px solid #404040; + z-index: 100; + } .main.drop-active::after { content: 'Drop PNG/video here'; position: absolute; @@ -291,11 +304,6 @@

CNN v2 Testing Tool

-
- - - -
@@ -303,11 +311,8 @@
- -
-
- - CNN Output + + 1.0
@@ -333,12 +338,17 @@
+
+ + + +