Opened 8 years ago

Last modified 7 years ago

#3874 closed defect

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

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

Change History (8)

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

Note: See TracTickets for help on using tickets.