aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mux.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/mux.go b/mux.go
index 47f2330..756e5da 100644
--- a/mux.go
+++ b/mux.go
@@ -80,7 +80,8 @@ func (mux *Mux) makeEnv(master bool) Env {
mux.mu.Lock()
mux.eventsIns = append(mux.eventsIns, eventsIn)
- // make sure to always send a resize event to a new Env if we got it already
+ // make sure to always send a resize event to a new Env if we got the size already
+ // that means it missed the resize event by the root Env
if mux.haveR {
eventsIn <- Eventf("resize/%d/%d/%d/%d", mux.r.Min.X, mux.r.Min.Y, mux.r.Max.X, mux.r.Max.Y)
}