| 1 |
Index: lib/OpenLayers/Control/Panel.js |
|---|
| 2 |
=================================================================== |
|---|
| 3 |
--- Panel.js lib/OpenLayers/Control/Panel.js (revision 6014) |
|---|
| 4 |
+++ Panel.js lib/OpenLayers/Control/Panel.js (revision 6014) |
|---|
| 5 |
@@ -126,6 +126,7 @@ |
|---|
| 6 |
if (!this.active) { return false; } |
|---|
| 7 |
if (control.type == OpenLayers.Control.TYPE_BUTTON) { |
|---|
| 8 |
control.trigger(); |
|---|
| 9 |
+ this.redraw(); |
|---|
| 10 |
return; |
|---|
| 11 |
} |
|---|
| 12 |
if (control.type == OpenLayers.Control.TYPE_TOGGLE) { |
|---|
| 13 |
@@ -134,6 +135,7 @@ |
|---|
| 14 |
} else { |
|---|
| 15 |
control.activate(); |
|---|
| 16 |
} |
|---|
| 17 |
+ this.redraw(); |
|---|
| 18 |
return; |
|---|
| 19 |
} |
|---|
| 20 |
for (var i = 0; i < this.controls.length; i++) { |
|---|