@pirireis/webglobeplugins 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -116,8 +116,7 @@ export default class RangeRingAngleText {
|
|
|
116
116
|
|
|
117
117
|
for (const { centerID, x, y, rings, stepAngle, hide = ENUM_HIDE.SHOW, textHide = ENUM_TEXT_HIDE.SHOW } of ringDatas) {
|
|
118
118
|
if (this._centerCollection.has(centerID)) {
|
|
119
|
-
|
|
120
|
-
this._fillDeleteBucket(centerID, stepAngle, deleteBucket);
|
|
119
|
+
this._fillDeleteBucket(centerID, deleteBucket);
|
|
121
120
|
}
|
|
122
121
|
const maxRadius = rings.reduce((acc, { radius }) => Math.max(acc, radius), 0);
|
|
123
122
|
const show = hide !== ENUM_HIDE.HIDE && textHide === ENUM_TEXT_HIDE.SHOW;
|
package/rangerings/rangerings.js
CHANGED
|
@@ -22,11 +22,11 @@ const { CircleFlatProgram, PaddyFlatProgram, CirclePaddySharedBuffer } = rings;
|
|
|
22
22
|
|
|
23
23
|
export default class {
|
|
24
24
|
|
|
25
|
-
constructor(id, { oneDegreePadding = true, compass = COMPASS_MODES.COMPASS,
|
|
25
|
+
constructor(id, { oneDegreePadding = true, compass = COMPASS_MODES.COMPASS, showNumbers = true } = {}) {
|
|
26
26
|
this.id = id;
|
|
27
27
|
this.compass = compass;
|
|
28
28
|
this._showNumbers = showNumbers;
|
|
29
|
-
this.circleEdgeCount =
|
|
29
|
+
this.circleEdgeCount = 360;
|
|
30
30
|
this._onedegreepaddingOn = oneDegreePadding;
|
|
31
31
|
this.bufferManager = null;
|
|
32
32
|
}
|