File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,6 +69,8 @@ var Autocomplete = function() {
6969
7070 var renderer = editor . renderer ;
7171 if ( ! keepPopupPosition ) {
72+ this . popup . setFontSize ( editor . getFontSize ( ) ) ;
73+
7274 var lineHeight = renderer . layerConfig . lineHeight ;
7375
7476 var pos = renderer . $cursorLayer . getPixelPosition ( this . base , true ) ;
@@ -220,6 +222,7 @@ var Autocomplete = function() {
220222 editor . on ( "blur" , this . blurListener ) ;
221223 editor . on ( "mousedown" , this . mousedownListener ) ;
222224 editor . on ( "mousewheel" , this . mousewheelListener ) ;
225+
223226 this . updateCompletions ( ) ;
224227 }
225228
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ dom.importCssString("\
251251}\
252252.ace_autocomplete .ace_completion-highlight{\
253253 color: #000;\
254- text-shadow: 0 0 0.01px ;\
254+ text-shadow: 0 0 0.01em ;\
255255}\
256256.ace_autocomplete {\
257257 width: 280px;\
You can’t perform that action at this time.
0 commit comments