[core] s/Wireframe/Overdraw/g
This commit is contained in:
@@ -43,9 +43,8 @@ typedef NS_OPTIONS(NSUInteger, MGLMapDebugMaskOptions) {
|
||||
/** Edges of glyphs and symbols are shown as faint, green lines to help
|
||||
diagnose collision and label placement issues. */
|
||||
MGLMapDebugCollisionBoxesMask = 1 << 4,
|
||||
/** Line widths, backgrounds, and fill colors are ignored to create a
|
||||
wireframe effect. */
|
||||
MGLMapDebugWireframesMask = 1 << 5,
|
||||
/** Overdraw inspector. */
|
||||
MGLMapDebugOverdrawsMask = 1 << 5,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -1829,9 +1829,9 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
|
||||
{
|
||||
mask |= MGLMapDebugCollisionBoxesMask;
|
||||
}
|
||||
if (options & mbgl::MapDebugOptions::Wireframe)
|
||||
if (options & mbgl::MapDebugOptions::Overdraw)
|
||||
{
|
||||
mask |= MGLMapDebugWireframesMask;
|
||||
mask |= MGLMapDebugOverdrawsMask;
|
||||
}
|
||||
return mask;
|
||||
}
|
||||
@@ -1855,9 +1855,9 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
|
||||
{
|
||||
options |= mbgl::MapDebugOptions::Collision;
|
||||
}
|
||||
if (debugMask & MGLMapDebugWireframesMask)
|
||||
if (debugMask & MGLMapDebugOverdrawsMask)
|
||||
{
|
||||
options |= mbgl::MapDebugOptions::Wireframe;
|
||||
options |= mbgl::MapDebugOptions::Overdraw;
|
||||
}
|
||||
_mbglMap->setDebug(options);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user