Opened 8 years ago

Closed 7 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 8 years ago.
The dragbox is not following the cursor
3874_bandbox_hidpi_fix_1.patch (653 bytes ) - added by Dario Ostuni 7 years ago.
3874_bandbox_hidpi_fix_2.patch (653 bytes ) - added by Dario Ostuni 7 years ago.
Applied stanislas69 suggestion

Download all attachments as: .zip

Change History (9)

by Dario Ostuni, 8 years ago

Attachment: IMG_20160403_033052.jpg added

The dragbox is not following the cursor

comment:1 by fabio, 8 years ago

Description: modified (diff)

by Dario Ostuni, 7 years ago

comment:2 by Dario Ostuni, 7 years ago

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 by Stan, 7 years ago

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)

by Dario Ostuni, 7 years ago

Applied stanislas69 suggestion

comment:4 by Dario Ostuni, 7 years ago

Description: modified (diff)

comment:5 by elexis, 7 years ago

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 by elexis, 7 years ago

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