Niklas Mischkulnig
Niklas Mischkulnig
> The same binaries works on Node 9 & 10, and I tested them only on macOS High Sierra. Also node 8 & Sierra!
With `height -= 20;`:  **EDIT:** With this shrinking works, but growing still has the same issue. ```js textDrawArea = new libui.UiArea(handlerDraw, noop, noop, noop, () => { height -=...
Actually, the area doesn't resize at all, only the grey rectangle. The grey rectangle is the actual size of the area, the red line represents the variables `width` and `height`:...
> napi_fatal_exception() requires Node v9.10 and I'm using v8, so I replaced it with napi_throw Just for reference, this already came up here: https://github.com/parro-it/libui-napi/pull/21#issuecomment-387746243
```bash /Users/parroit/.nvm/versions/node/v9.5.0/bin/node /Users/parroit/repos/libui-node/examples/control-gallery.js& ``` can be replaced by ```bash /Users/parroit/.nvm/versions/node/v9.5.0/bin/node "$(dirname $0)/../../../control-gallery.js" ``` But the main problem is that node is usually not in the default PATH (`/usr/bin:/bin:/usr/sbin:/sbin`) ```bash PATH="/usr/local/bin:$PATH"...
@cztomsik Can you please post a code example and your macOS version? This works fine for me: ```js const libui = require("libui-node"); libui.startLoop(); setInterval(() => console.log('tick'), 1000) ```
Oh, I missed the text "macOS 10.12+" on Apples API documentation 😄 . This wil be fixed with the 0.3.0 release.
> Need test whether this is an issue of libui. Does the same happen if you run the libui drawtext example on High Sierra?
4th Line: "text background color" has a yellow-ish background Interesting. I can't reproduce this, *unfortunately*.
> Oh, yes. So it seems a bug on bindings... Then why does it work on Sierra? 😕