ide: Fixed problem with debugger tooltip background

This commit is contained in:
Mirek Fidler 2022-12-20 12:51:37 +01:00
parent a22075e9bf
commit e46cd032cd

View file

@ -696,7 +696,7 @@ void CodeEditor::SyncTip()
Rect wa = GetWorkArea();
Point p = Upp::GetMousePos();
MouseTip mt;
mt.background = SColorInfo();
mt.background = Blend(SWhite(), SLtYellow());
mt.pos = tippos;
mt.sz.cx = min(DPI(1000), 2 * wa.GetWidth() / 3);
if(tippos >= 0 && IsVisible() && (WhenTip(mt) || delayed_tip && DelayedTip(mt) && p == delayed_pos)) {