expanding a collapsed comment brings it to the front

pull/95/head
jmoenig 2020-06-15 09:54:02 +02:00
rodzic 51e147757f
commit 9871e323fb
3 zmienionych plików z 9 dodań i 3 usunięć

Wyświetl plik

@ -24,12 +24,14 @@
* changed result for FIND to empty instead of false if none is found
* new flat design
* increased contrast in dark mode
* toggling Retina support has been hidden, because it no longer works the same
* toggling Retina support has been hidden (because it no longer works the same)
* **Notable Fixes:**
* multi-c slots embedding reporters has been disabled
* programmatically changing a clone from "permanent" to "temporary" now works in presentation mode
* costumes and sounds of clones are now properly shadowed when modifying them programmatically
* fixed editing cells in multi-page list watchers
* recursive calls to "broadcast and wait" execute smoothly again
* expanding a collapsed comment now brings it to the front
* **Translation Updates:**
* New Hebrew translation
* Ukranian

Wyświetl plik

@ -7,7 +7,7 @@
<script type="text/javascript" src="src/morphic.js?version=2020-06-13"></script>
<script type="text/javascript" src="src/symbols.js?version=2020-05-28"></script>
<script type="text/javascript" src="src/widgets.js?version=2020-05-06"></script>
<script type="text/javascript" src="src/blocks.js?version=2020-06-04"></script>
<script type="text/javascript" src="src/blocks.js?version=2020-06-15"></script>
<script type="text/javascript" src="src/threads.js?version=2020-06-15"></script>
<script type="text/javascript" src="src/objects.js?version=2020-06-14"></script>
<script type="text/javascript" src="src/gui.js?version=2020-06-08"></script>

Wyświetl plik

@ -148,7 +148,7 @@ CustomCommandBlockMorph, SymbolMorph, ToggleButtonMorph, DialMorph*/
// Global stuff ////////////////////////////////////////////////////////
modules.blocks = '2020-June-04';
modules.blocks = '2020-June-15';
var SyntaxElementMorph;
var BlockMorph;
@ -12412,6 +12412,10 @@ CommentMorph.prototype.toggleExpand = function () {
this.isCollapsed = !this.isCollapsed;
this.fixLayout();
this.align();
if (!this.isCollapsed && this.parent) {
this.parent.add(this); // come to front
this.changed();
}
};
// CommentMorph layout: