min
запушил(а) master в min/g3n-engine
a2e58abab5 Removed deprecated go get -u outside module (#286)
721b7465e9 fix #301 (#302)
Now we convert uint32 into C.GLsizeiptr first, then convert GLsizeiptr into *void inside C function, so the race detector will not failed anymore.
4e30d5c3f7 Fix #280, blur font on darwin (#298)
* fix #280
Font's on retina will be blur cause Rentina have 2x DPI
Now we times the DPI by 2 when on darwin, and scale the Label panel by 0.5 to keep the original size
Since we scaled the panel size back, so it should not affect much on non-Rentina darwin
However, if you are using non-darwin with rentina monitor, issue #280 will still happen, need a way to detect the monitor
* remove a debug log
* we should devide on int but not floor, or the text will be out of shape
* Revert "we should devide on int but not floor, or the text will be out of shape"
I was completely wrong, we should divide on the floor or the text won't keep it's original size
This reverts commit 73f1b6a320f90cfec9de8878ec06fa351966beaf.
* use `window.Get().GetScale()` instead of hardcoded size and os
* use explicit rune casting to pass `go test`
* fix format for font.go
* fix for Edit
26e011b12f Fix #299 (#300)
> We transfer MouseEvent to CursorEvent, and assign it to gm.cev when it's not exists, then the program won't panic when you click mouse button without any moving
fc34de52eb Merge pull request #293 from testwill/slice
chore: slice loop replace
- Просмотр сравнение для этих 110 коммитов »
1 год назад