kopia lustrzana https://github.com/backface/turtlestitch
fixed a multi-line input slot layout glitch
rodzic
d443d662c0
commit
833a6c3a96
|
@ -156,7 +156,7 @@ DialogBoxMorph, BlockInputFragmentMorph, PrototypeHatBlockMorph, Costume*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.blocks = '2015-December-22';
|
||||
modules.blocks = '2015-December-16';
|
||||
|
||||
var SyntaxElementMorph;
|
||||
var BlockMorph;
|
||||
|
@ -7295,7 +7295,8 @@ InputSlotMorph.prototype.fixLayout = function () {
|
|||
+ this.typeInPadding * 2,
|
||||
contents.rawHeight ? // single vs. multi-line contents
|
||||
contents.rawHeight() + arrowWidth
|
||||
: contents.height() / 1.2 + arrowWidth,
|
||||
: fontHeight(contents.fontSize) / 1.3
|
||||
+ arrowWidth,
|
||||
this.minWidth // for text-type slots
|
||||
);
|
||||
}
|
||||
|
|
|
@ -2845,3 +2845,7 @@ end - bulk of 151215
|
|||
160111
|
||||
------
|
||||
* BYOB: fixed #1107
|
||||
|
||||
160116
|
||||
------
|
||||
* Blocks: fixed a multi-line input slot layout glitch
|
||||
|
|
Ładowanie…
Reference in New Issue