mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 13:15:30 +01:00
Turn off smoothing factor on area markers
This commit is contained in:
parent
ba0d197e78
commit
3ad67483ae
@ -104,7 +104,7 @@ componentconstructors['markers'] = function(dynmap, configuration) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function createArea(set, area, ts) {
|
function createArea(set, area, ts) {
|
||||||
var style = { color: area.color, opacity: area.opacity, weight: area.weight, fillOpacity: area.fillopacity, fillColor: area.fillcolor };
|
var style = { color: area.color, opacity: area.opacity, weight: area.weight, fillOpacity: area.fillopacity, fillColor: area.fillcolor, smoothFactor: 0.0 };
|
||||||
|
|
||||||
if(area.x.length == 2) { /* Only 2 points */
|
if(area.x.length == 2) { /* Only 2 points */
|
||||||
if(area.ytop == area.ybottom) {
|
if(area.ytop == area.ybottom) {
|
||||||
|
Loading…
Reference in New Issue
Block a user