kopia lustrzana https://github.com/backface/turtlestitch
fixed layout for scrolling custom categories
thanks, Eckart, for the bug report!snap7
rodzic
b020e1be89
commit
3f972a04bf
|
@ -5,11 +5,13 @@
|
|||
* **New Features:**
|
||||
* **Notable Changes:**
|
||||
* **Notable Fixes:**
|
||||
* fixed layout for scrolling custom categories, thanks, Eckart, for the bug report!
|
||||
* **Documentation Updates:**
|
||||
* **Translation Updates:**
|
||||
|
||||
### 2022-01-21
|
||||
* new dev version
|
||||
* gui: fixed layout for scrolling custom categories, thanks, Eckart, for the bug report!
|
||||
|
||||
## 7.0.6:
|
||||
* **Notable Changes:**
|
||||
|
|
|
@ -1459,6 +1459,7 @@ IDE_Morph.prototype.createCategories = function () {
|
|||
scroller.addContents(myself.categories.children[8]);
|
||||
}
|
||||
myself.categories.add(scroller);
|
||||
myself.categories.scroller = scroller;
|
||||
myself.categories.setHeight(
|
||||
(4 + 1) * yPadding
|
||||
+ 4 * buttonHeight
|
||||
|
@ -2229,6 +2230,9 @@ IDE_Morph.prototype.fixLayout = function (situation) {
|
|||
this.categories.setLeft(this.logo.left());
|
||||
this.categories.setTop(this.logo.bottom());
|
||||
this.categories.setWidth(this.paletteWidth);
|
||||
if (this.categories.scroller) {
|
||||
this.categories.scroller.setWidth(this.paletteWidth);
|
||||
}
|
||||
}
|
||||
|
||||
// palette
|
||||
|
@ -5682,7 +5686,7 @@ IDE_Morph.prototype.openBlocksString = function (str, name, silently) {
|
|||
]);
|
||||
};
|
||||
|
||||
IDE_Morph.prototype.rawOpenBlocksString = function (str, name, silently) { // +++
|
||||
IDE_Morph.prototype.rawOpenBlocksString = function (str, name, silently) {
|
||||
// name is optional (string), so is silently (bool)
|
||||
var blocks;
|
||||
this.toggleAppMode(false);
|
||||
|
|
Ładowanie…
Reference in New Issue