mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 11:15:21 +01:00
Added 'focuschatballoons' to config influenced by Incendia's suggestion.
This commit is contained in:
parent
9951baf8b5
commit
902cc87458
@ -31,6 +31,7 @@ web:
|
|||||||
showchatballoons: true
|
showchatballoons: true
|
||||||
showplayerfacesonmap: true
|
showplayerfacesonmap: true
|
||||||
showplayerfacesinmenu: true
|
showplayerfacesinmenu: true
|
||||||
|
focuschatballoons: false
|
||||||
|
|
||||||
# The name of the map shown when opening Dynmap's page (must be in menu).
|
# The name of the map shown when opening Dynmap's page (must be in menu).
|
||||||
defaultmap: defaultmap
|
defaultmap: defaultmap
|
||||||
|
@ -323,6 +323,7 @@ DynMap.prototype = {
|
|||||||
popup.popupTime = now.getTime();
|
popup.popupTime = now.getTime();
|
||||||
if (!popup.infoWindow) {
|
if (!popup.infoWindow) {
|
||||||
popup.infoWindow = new google.maps.InfoWindow({
|
popup.infoWindow = new google.maps.InfoWindow({
|
||||||
|
disableAutoPan: me.options.focuschatballoons || false
|
||||||
content: htmlMessage
|
content: htmlMessage
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user