Bertram25/ValyriaTear — pull request #96 by IkarusDowned (2013-01-04 01:59:44+00:00)
Title: added dynamic cursor offset

Another minor change.

+ Add ed dynamic cursor offset to the quest log window.
in the current master, the cursor "jumps" to the left of the quest log entry when the log entry is viewed after the first time. Its quite visible and looks kinda silly. whats happening is:

- when a log is "unread", the left text start begins with the exclamation point.
- the cursor at this state, is set to the left of the exclamation point as well
- the menu is drawn
- when the log is viewed, the exclamation point is gone but the empty space remains
- the cursor gets set to the left of the actual text, NOT the empty space.
- the menu is drawn.

This causes a jump between those two frames, and it was bothering me.

I have set it to dynamically scale the offset based on the read / unread state of the log. This keeps the cursor in the same place