Change Android title *after* switching panges. Android ist faster.
This commit is contained in:
parent
a13c91dc82
commit
fd90f44def
@ -1,9 +1,6 @@
|
|||||||
// created to start cleaning up "window" interaction
|
// created to start cleaning up "window" interaction
|
||||||
//
|
//
|
||||||
window.show = function(id) {
|
window.show = function(id) {
|
||||||
if (typeof android !== 'undefined' && android && android.switchToPane) {
|
|
||||||
android.switchToPane(id);
|
|
||||||
}
|
|
||||||
/*
|
/*
|
||||||
* disable all map properties when switching to another pane
|
* disable all map properties when switching to another pane
|
||||||
* because sometimes (bug?) touch events are passed to the map when
|
* because sometimes (bug?) touch events are passed to the map when
|
||||||
@ -41,6 +38,10 @@ window.show = function(id) {
|
|||||||
window.smartphone.mapButton.click();
|
window.smartphone.mapButton.click();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (typeof android !== 'undefined' && android && android.switchToPane) {
|
||||||
|
android.switchToPane(id);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
window.enableMapProperties = function() {
|
window.enableMapProperties = function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user