This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-02-14
Channels
- # ai (4)
- # babashka (4)
- # beginners (46)
- # biff (5)
- # calva (12)
- # clojure (6)
- # clojure-austin (13)
- # clojure-dev (27)
- # clojure-europe (62)
- # clojure-nl (1)
- # clojure-norway (17)
- # clojure-spec (2)
- # clojure-uk (12)
- # clojurescript (10)
- # cursive (3)
- # datahike (26)
- # datalevin (9)
- # datomic (7)
- # gratitude (4)
- # honeysql (9)
- # hyperfiddle (12)
- # instaparse (2)
- # lsp (65)
- # membrane (7)
- # missionary (2)
- # off-topic (8)
- # polylith (33)
- # portal (7)
- # quil (1)
- # re-frame (4)
- # reagent (18)
- # releases (3)
- # ring (3)
- # spacemacs (2)
- # specter (4)
getting weird behavior from with-line-size in webgl/canvas, my assumption was that it would only apply to drawing lines inside that lexical scope, but it's modifying them globally. Also, when two are specified differently in different places, redraws sometimes end up drawing eg. component_A with the line size specified for B. I'm thinking maybe line size isn't stored on the context by push-state (??), that's my first guess to why thie behaviour would happen
with-stroked-width
doesn't create a scope. it just returns a new view where its children will be drawn with the specified width.
do you have some example code?
Sorry maybe scope is the wrong word but it's not respecting only-apply-to-children in my code, for sure. I don't have a simple reproducible example I'm snowed but can try to make one soon
Yea, it should only apply to children. If not, that's a bug.