LD

Results 83 comments of LD

I did tests again, and actually the destructor of `CocoaGraphicsWindow` (and also `CocoaGraphicsPipe`)is never called when the application is closed, either using Command-Q, code button, `sys.exit()` or `ShowBase.userExit()` I don't...

Indeed, I could reproduce the problem: DATA: Window Dimensions: 1920 1200 Requested: 960 600 Returned Coords: 1418.0 767.0 With https://github.com/panda3d/panda3d/pull/1308 this is fixed however: Not High-DPI aware : DATA: Window...

I thought at first it was a problem in my implementation due to an integer division (and there is one :) ) But after fixing it, the discrepancy remains! After...

Well, it seems that although fractional mouse position is supported, the functions to move the mouse pointer, `CGDisplayMoveCursorToPoint()` and `CGWarpMouseCursorPosition()`, round down the given position. As the mouse position set...

Please see #1317 for the related fixes. I confirm it's not possible to set the position of the mouse pointer to non-integer coordinates. Some people are actually working around this...

On a HiDPI screen with HiDPI support enabled, you may have a 1-pixel offset on both coordinates. In your example, the window width is 922 pixels, the center is at...

> > I will update #1308 and make a specific 1.10 PR for the two issues described here. > > Hey @el-dee, did you end up making that 1.10 PR?...

Slight update to fix compressed ICO and compresed grayscale ICO support (I believe there is the same bug for grayscale compressed cursor, but I haven't tested it)

The default C++ delete operator handles gracefully nullptr (it's required by the standard), if the operator is overloaded, it is strongly recommended by the standard to handle nullptr too :)

That could be indeed a nice way to avoid code duplication, I will look into that. I will also have a look at libxcursor, maybe it's possible to create a...