Fix flickering of polyrail measurement tooltip

This commit is contained in:
Jonathan G Rennison
2021-03-20 11:59:48 +00:00
parent bac3bff716
commit aec2793487

View File

@@ -5347,7 +5347,7 @@ static HighLightStyle CalcPolyrailDrawstyle(Point pt, bool dragging)
}
HighLightStyle ret = HT_LINE | (HighLightStyle)TrackdirToTrack(seldir);
ShowLengthMeasurement(ret, TileVirtXY(_thd.selstart.x, _thd.selstart.y), TileVirtXY(_thd.selend.x, _thd.selend.y), TCC_HOVER, true);
ShowLengthMeasurement(ret, TileVirtXY(_thd.selstart.x, _thd.selstart.y), TileVirtXY(_thd.selend.x, _thd.selend.y), TCC_NONE, true);
return ret;
}