mapgears / scribeui

http://scribeui.org
MIT License
28 stars 15 forks source link

Editor glitches when working on large mapfiles. #69

Closed jlap closed 10 years ago

jlap commented 10 years ago

Mostly seems to be a scroll problem.

jlap commented 10 years ago

@smercier you may describe this issue better since you discovered it.

jlap commented 10 years ago

On long mapfiles, there is an offset between the position of the cursor and the displayed text on screen. It is easily noticeable after 2000 lines.

jlap commented 10 years ago

Closed in 509bd52449854af7a5802306be4400dc7c18f7b1

Was caused by a font-size property in scribeui's css.

jlap commented 10 years ago

The problem is style present in the secondary-editor (the top editor with the map, variables, etc.)

jlap commented 10 years ago

This problem is very major in chrome and at least partily caused by the second scrollbar that appears. It doesn't happend in firefox though.

jlap commented 10 years ago

Fixed in 4e2669a

The bug was caused by the font size being in em, the computed font size was 14.xxxx px, and 4 digits precision maybe wasn't enough to keep everything nicely lined up for more than a thousand lines or so.