aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/core/circled.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/core/circled.js')
-rw-r--r--src/modules/core/circled.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/modules/core/circled.js b/src/modules/core/circled.js
index 597d252..a03e29b 100644
--- a/src/modules/core/circled.js
+++ b/src/modules/core/circled.js
@@ -26,16 +26,12 @@ export function y (y) {
// Move by center over x-axis
export function cx (x) {
- return x == null
- ? this.attr('cx')
- : this.attr('cx', x)
+ return this.attr('cx', x)
}
// Move by center over y-axis
export function cy (y) {
- return y == null
- ? this.attr('cy')
- : this.attr('cy', y)
+ return this.attr('cy', y)
}
// Set width of element