guy 2 years ago
parent
commit
35e914d9c3
  1. 2
      server.js
  2. 4
      src/base/collection/collection.js

2
server.js

@ -9,5 +9,5 @@ const port = 3000;
app.use(express.static("./"));
app.listen(port, function() {
console.log("server start");
open('http://localhost:' + port + '/index.html');
open('http://localhost:' + port + '/examples/useContext.html');
});

4
src/base/collection/collection.js

@ -290,7 +290,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
if (scrollx) {
return true;
}
if (scrollable === true || scrollable === "x") {
if (scrollable === true || scrollable === "xy" || scrollable === "x") {
return true;
}
return false;
@ -306,7 +306,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
if (scrolly) {
return true;
}
if (scrollable === true || scrollable === "x") {
if (scrollable === true || scrollable === "xy" || scrollable === "y") {
return true;
}
return false;

Loading…
Cancel
Save