kopia lustrzana https://github.com/backface/turtlestitch
register unsaved changes when the user edits a comment
thanks, @jadga-h for the reportpull/95/head
rodzic
9d6aff80b4
commit
e1c8210a42
|
@ -2,12 +2,15 @@
|
|||
|
||||
## in development:
|
||||
|
||||
* **Notable Fixes:**
|
||||
* register unsaved changes when the user edits a comment
|
||||
* **Translation Updates:**
|
||||
* Polish, thanks, Witek!
|
||||
|
||||
### 2021-06-09
|
||||
* new dev version
|
||||
* Polish translation update, thanks, Witek!
|
||||
* blocks: register unsaved changes when the user edits a comment
|
||||
|
||||
## 6.8.1
|
||||
* **Notable Fixes:**
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<script src="src/morphic.js?version=2021-02-10"></script>
|
||||
<script src="src/symbols.js?version=2021-03-03"></script>
|
||||
<script src="src/widgets.js?version=2021-01-05"></script>
|
||||
<script src="src/blocks.js?version=2021-02-27"></script>
|
||||
<script src="src/blocks.js?version=2021-06-09"></script>
|
||||
<script src="src/threads.js?version=2021-04-17"></script>
|
||||
<script src="src/objects.js?version=2021-04-23"></script>
|
||||
<script src="src/gui.js?version=2021-06-09"></script>
|
||||
|
|
|
@ -158,7 +158,7 @@ CustomCommandBlockMorph, SymbolMorph, ToggleButtonMorph, DialMorph*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.blocks = '2021-February-27';
|
||||
modules.blocks = '2021-June-09';
|
||||
|
||||
var SyntaxElementMorph;
|
||||
var BlockMorph;
|
||||
|
@ -13152,9 +13152,13 @@ CommentMorph.prototype.mouseClickLeft = function () {
|
|||
|
||||
CommentMorph.prototype.layoutChanged = function () {
|
||||
// react to a change of the contents area
|
||||
var ide = this.parentThatIsA(IDE_Morph);
|
||||
this.fixLayout();
|
||||
this.align();
|
||||
this.comeToFront();
|
||||
if (ide) {
|
||||
ide.recordUnsavedChanges();
|
||||
}
|
||||
};
|
||||
|
||||
CommentMorph.prototype.fixLayout = function () {
|
||||
|
|
Ładowanie…
Reference in New Issue