Statistic window displays graph incorrectly when in hour-mode
Bug #1243700 reported by
wl-zocker
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Low
|
Lukasz |
Bug Description
As you can see in the attached screenshot, the black and the white line cross at -60 minutes. When you switch to the hour-mode, the intersection is not at -1, but before (-0.7 or so).
When you save a game you have played for 3 hours (according to the stats), in the load game dialog the time 4:30 is shown (what is a factor of 1.5). So I think the minutes are drawn and calculated correctly, but the hours are wrong.
Tested in r6812.
Related branches
lp:~majcherlk/widelands/bug-1243700
- TiborB: Approve
- SirVer: Needs Fixing
-
Diff: 47 lines (+16/-21)1 file modifiedsrc/wui/plot_area.cc (+16/-21)
tags: | added: statistics ui |
Changed in widelands: | |
status: | New → Confirmed |
importance: | Undecided → Low |
tags: | added: lowhangingfruit |
Changed in widelands: | |
status: | Expired → Confirmed |
Changed in widelands: | |
milestone: | none → build19-rc1 |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Cannot reproduce this any more with r6892.
Feel free to reopen if necessary.