mirror of
https://github.com/quantum5/win2xcur.git
synced 2025-04-24 10:11:57 -04:00
Use correct pixel ordering when loading Xcursor
This commit is contained in:
parent
eda755fe3a
commit
5c25adc445
|
@ -78,7 +78,7 @@ class XCursorParser(BaseParser):
|
||||||
(image_size, image_size, len(blob)))
|
(image_size, image_size, len(blob)))
|
||||||
|
|
||||||
images_by_size[nominal_size].append(
|
images_by_size[nominal_size].append(
|
||||||
(CursorImage(image_from_pixels(blob, width, height, 'ARGB', 'char'), (x_offset, y_offset)), delay)
|
(CursorImage(image_from_pixels(blob, width, height, 'BGRA', 'char'), (x_offset, y_offset)), delay)
|
||||||
)
|
)
|
||||||
|
|
||||||
if len(set(map(len, images_by_size.values()))) != 1:
|
if len(set(map(len, images_by_size.values()))) != 1:
|
||||||
|
|
Loading…
Reference in a new issue