Closed Pieter-Dewachter closed 1 year ago
dxDrawImage in dgs is hooked. if there doesn't have "image", we will use rectangle instead, see utility "dxDrawImage"
Ah you are right! I have reverted that part of the PR but I think the rest should still be valid?
I have found two minor issues when using Gridlist:
tocolor(0, 132, 255, 12)
) were not showing up because of the "blend" blend mode that was used inside the render target. This has been changed to "modulate_add" instead as recommended by the MTA Wiki (and also renders correctly now). While I was at it, I also moved fromdxDrawImage
todxDrawRectangle
in case no background image is set since that seems to make more sense.dgsGridListSetItemImage
were not taking the parent (gridlist) alpha correclty into account.