mirror of
https://github.com/owntracks/recorder.git
synced 2026-05-19 03:46:34 +00:00
autozoom color if ?fit=
This commit is contained in:
@@ -51,7 +51,7 @@ function ButtonControl(controlDiv, map) {
|
||||
|
||||
// Set CSS for the control interior.
|
||||
var controlText = document.createElement('div');
|
||||
controlText.style.color = 'rgb(25,25,25)';
|
||||
controlText.style.color = (do_fit) ? 'rgb(0,153,0)' : 'rgb(25,25,25)';
|
||||
controlText.style.fontFamily = 'Roboto,Arial,sans-serif';
|
||||
controlText.style.fontSize = '16px';
|
||||
controlText.style.lineHeight = '38px';
|
||||
|
||||
Reference in New Issue
Block a user