Testing overlays

This commit is contained in:
Ian Gilman 2014-11-05 16:54:03 -08:00
parent b5a9116a0b
commit 3a902a7768
2 changed files with 29 additions and 15 deletions

View File

@ -19,6 +19,10 @@
background-color: rgba(255, 0, 0, 0.3); background-color: rgba(255, 0, 0, 0.3);
} }
#overlay1 {
z-index: 10;
}
</style> </style>
</head> </head>
<body> <body>

View File

@ -40,20 +40,30 @@
} }
if (testOverlays) { if (testOverlays) {
config.overlays = [ { config.overlays = [
px: 13, {
py: 120, id: "overlay1",
width: 124, x: 0,
height: 132, y: 0,
id: "overlay" width: 0.25,
}, { height: 0.25
px: 400, },
py: 500, {
width: 400, px: 13,
height: 400, py: 120,
id: "fixed-overlay", width: 124,
placement: "TOP_LEFT" height: 132,
} ]; id: "overlay"
},
{
px: 400,
py: 500,
width: 400,
height: 400,
id: "fixed-overlay",
placement: "TOP_LEFT"
}
];
} }
if (testMargins) { if (testMargins) {
@ -86,7 +96,7 @@
} }
// this.crossTest3(); // this.crossTest3();
this.gridTest(); this.basicTest();
}, },
// ---------- // ----------