File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ private static void ProcessInteractions(MarkerInfo markerInfo) {
163163 }
164164 }
165165
166- private static void DrawTooltip ( MarkerInfo markerInfo ) {
166+ private static unsafe void DrawTooltip ( MarkerInfo markerInfo ) {
167167 if ( System . IconConfig . IconSettingMap [ markerInfo . IconId ] is { AllowTooltip : false } && ! DebugMode ) {
168168 return ;
169169 }
@@ -172,7 +172,7 @@ private static void DrawTooltip(MarkerInfo markerInfo) {
172172
173173 if ( markerInfo is { Radius : { } sameRadius and > 1.0f } ) {
174174 var center = markerInfo . Position + markerInfo . Offset + ImGui . GetWindowPos ( ) ;
175- var radius = sameRadius * markerInfo . Scale ;
175+ var radius = sameRadius * markerInfo . Scale * AgentMap . Instance ( ) -> CurrentMapSizeFactorFloat ; ;
176176
177177 if ( Vector2 . Distance ( ImGui . GetMousePos ( ) - System . MapWindow . MapDrawOffset + ImGui . GetWindowPos ( ) , center ) <= radius && System . MapWindow . IsMapHovered ) {
178178 isActivatedViaRadius = true ;
You can’t perform that action at this time.
0 commit comments