You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Respect the left offset of the text content when positioning phantoms.
Actual behavior
Phantoms are always placed as the text was aligned left, which causes phantoms to be placed at the wrong position if the setting draw_centered is true.
Steps to reproduce
Install any plugin which adds phantoms to the document (e.g. ColorHelper).
Open a CSS file which ColorHelper adds phantoms to.
Switch to distraction free mode.
Environment
Operating system and version:
Windows 10
Monitor:
Resolution 1900x1200
dpi_scale used in ST 1.0
Sublime Text:
Build 3176
64 bit
The text was updated successfully, but these errors were encountered:
deathaxe
added a commit
to jisaacks/GitGutter
that referenced
this issue
Sep 10, 2018
Fixes#514
Sublime Text 3176 does not place phantoms correctly, if `draw_centered`
setting is set `true`.
The core issue is reported at:
sublimehq/sublime_text#2416
Summary
This issue is a forwarded report of jisaacks/GitGutter#514
Expected behavior
Respect the left offset of the text content when positioning phantoms.
Actual behavior
Phantoms are always placed as the text was aligned left, which causes phantoms to be placed at the wrong position if the setting
draw_centered
istrue
.Steps to reproduce
Environment
dpi_scale
used in ST 1.0The text was updated successfully, but these errors were encountered: