You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2015/04/16 23:50:33 UTC
cordova-plugin-camera git commit: CB-8405 Use z-index instead of
z-order
Repository: cordova-plugin-camera
Updated Branches:
refs/heads/master b67e4a09e -> fb8ce2171
CB-8405 Use z-index instead of z-order
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/fb8ce217
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/fb8ce217
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/fb8ce217
Branch: refs/heads/master
Commit: fb8ce21711def54779fc4f52643f5621b3f9fff6
Parents: b67e4a0
Author: Murat Sutunc <su...@gmail.com>
Authored: Thu Apr 16 12:44:29 2015 -0700
Committer: Murat Sutunc <su...@gmail.com>
Committed: Thu Apr 16 12:44:29 2015 -0700
----------------------------------------------------------------------
src/windows/CameraProxy.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/fb8ce217/src/windows/CameraProxy.js
----------------------------------------------------------------------
diff --git a/src/windows/CameraProxy.js b/src/windows/CameraProxy.js
index 3d4d24b..dea33c9 100644
--- a/src/windows/CameraProxy.js
+++ b/src/windows/CameraProxy.js
@@ -221,12 +221,12 @@ function takePictureFromCameraWP(successCallback, errorCallback, args) {
// z-order style element for capturePreview and captureCancelButton elts
// is necessary to avoid overriding by another page elements, -1 sometimes is not enough
- capturePreview.style.cssText = "position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-order: 999";
+ capturePreview.style.cssText = "position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 999";
// Create cancel button
captureCancelButton = document.createElement("button");
captureCancelButton.innerText = "Cancel";
- captureCancelButton.style.cssText = "position: fixed; right: 0; bottom: 0; display: block; margin: 20px; z-order: 1000";
+ captureCancelButton.style.cssText = "position: fixed; right: 0; bottom: 0; display: block; margin: 20px; z-index: 1000";
capture = new CaptureNS.MediaCapture();
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org