From ed011c5e6c0b94fc3e14980b836c07c3dbbbdc40 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Fri, 11 Jun 2021 16:40:37 +0000 Subject: [PATCH] Better feedback on button clicks --- main.go | 2 +- static/remote.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 590f4f0..d4cefd6 100644 --- a/main.go +++ b/main.go @@ -558,7 +558,7 @@ func (rm *room) sendAdminEvent(ae *adminEvent) { } func (rm *room) sendControlEvent(ce *controlEvent) { - for present, _ := range rm.present { + for present := range rm.present { present <- ce } } diff --git a/static/remote.css b/static/remote.css index 9e3a474..c271a3e 100644 --- a/static/remote.css +++ b/static/remote.css @@ -70,8 +70,8 @@ tfoot tr { user-select: none; } -.control-button:active { - background: var(--subtle-color); +.controls.enable .control-button:active { + background: var(--highlight-color); transition: none; }