youtd2 icon indicating copy to clipboard operation
youtd2 copied to clipboard

Item cursor is too big on some screen setups

Open Kvel2D opened this issue 1 year ago • 2 comments
trafficstars

Size is too large: Screenshot_2024-05-03_at_2 06 35_PM

Intended size: 2024-05-04 07_33_19-YouTD 2 (DEBUG)

Note that first screenshot was taken before this commit d95df33cfd3fd9380b6e269b63a50d456de09422 So size is even larger.

Icon is two times bigger than intended size.

See this function: MoveItem._get_item_cursor_icon()

Kvel2D avatar May 04 '24 05:05 Kvel2D

Dividing by value returned from DisplayServer.screen_get_scale() appears to not help.

Kvel2D avatar May 05 '24 16:05 Kvel2D

I'm experiencing slightly different behavior with the dragged item now:

  1. Click on an item in stash
  2. It shows this big icon of the item
  3. When I start dragging icon disappears (it may disappear a second after I start dragging)
  4. Item is still dragged so I can click on a tower and item will be transfer from stash to that tower (so only visual part is not working correctly)

Praytic avatar Sep 01 '24 00:09 Praytic