Opened 4 years ago

Closed 3 years ago

#3874 closed defect (fixed)

[PATCH] When gui.scale is lower than 1.0 the in-game bandbox misbehave

Reported by: Dario Ostuni Owned by:
Priority: Must Have Milestone: Alpha 22
Component: UI & Simulation Keywords: patch
Cc: Patch:

Description (last modified by elexis)

Setting a gui.scale < 1.0 causes the bandbox to appear in a wrong location. http://trac.wildfiregames.com/raw-attachment/ticket/3874/IMG_20160403_033052.jpg

Attachments (3)

IMG_20160403_033052.jpg (1.3 MB) - added by Dario Ostuni 4 years ago.
The dragbox is not following the cursor
3874_bandbox_hidpi_fix_1.patch (653 bytes) - added by Dario Ostuni 3 years ago.
3874_bandbox_hidpi_fix_2.patch (653 bytes) - added by Dario Ostuni 3 years ago.
Applied stanislas69 suggestion

Download all attachments as: .zip

Change History (9)

Changed 4 years ago by Dario Ostuni

Attachment: IMG_20160403_033052.jpg added

The dragbox is not following the cursor

comment:1 Changed 4 years ago by fabio

Description: modified (diff)

Changed 3 years ago by Dario Ostuni

comment:2 Changed 3 years ago by Dario Ostuni

Description: modified (diff)
Keywords: rfc patch bandbox added; dragbox removed
Milestone: BacklogWork In Progress
Summary: When gui.scale is lower than 1.0 the in-game dragbox misbehave[PATCH] When gui.scale is lower than 1.0 the in-game bandbox misbehave

comment:3 Changed 3 years ago by stanislas69

Keywords: bandbox gui.scale scale hidpi removed

Use let (ES6) instead of var. This is a little nitpick.

Thanks for the patch. (I haven't tested it)

Changed 3 years ago by Dario Ostuni

Applied stanislas69 suggestion

comment:4 Changed 3 years ago by Dario Ostuni

Description: modified (diff)

comment:5 Changed 3 years ago by elexis

Description: modified (diff)
Keywords: rfc removed
Milestone: Work In ProgressAlpha 22

Fixed by r19411:

Fix in-game bandbox when gui.scale is not 1
Patch by Dariost
Differential Revision: https://code.wildfiregames.com/D321

comment:6 Changed 3 years ago by elexis

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.