un-mirror camera snapshots when accepting them

upd4.1
Jens Mönig 2017-09-25 10:01:25 +02:00
rodzic 5e1eeb1348
commit 556f264319
4 zmienionych plików z 10 dodań i 7 usunięć

Wyświetl plik

@ -148,7 +148,7 @@ CustomCommandBlockMorph, SymbolMorph*/
// Global stuff ////////////////////////////////////////////////////////
modules.blocks = '2017-September-19';
modules.blocks = '2017-September-25';
var SyntaxElementMorph;
var BlockMorph;

10
gui.js
Wyświetl plik

@ -1578,7 +1578,8 @@ IDE_Morph.prototype.createCorralBar = function () {
'cameraDisabled',
function (event) {
cambutton.disable();
cambutton.hint = CamSnapshotDialogMorph.prototype.notSupportedMessage;
cambutton.hint =
CamSnapshotDialogMorph.prototype.notSupportedMessage;
}
);
};
@ -7691,7 +7692,8 @@ WardrobeMorph.prototype.updateList = function () {
'cameraDisabled',
function () {
cambutton.disable();
cambutton.hint = CamSnapshotDialogMorph.prototype.notSupportedMessage;
cambutton.hint =
CamSnapshotDialogMorph.prototype.notSupportedMessage;
}
);
@ -8396,7 +8398,6 @@ PaletteHandleMorph.prototype.mouseDoubleClick = function () {
// CamSnapshotDialogMorph inherits from DialogBoxMorph:
CamSnapshotDialogMorph.prototype.enableCamera = false; // has issues with retina
CamSnapshotDialogMorph.prototype = new DialogBoxMorph();
CamSnapshotDialogMorph.prototype.constructor = CamSnapshotDialogMorph;
CamSnapshotDialogMorph.uber = DialogBoxMorph.prototype;
@ -8538,7 +8539,8 @@ CamSnapshotDialogMorph.prototype.ok = function () {
new Costume(
this.videoView.fullImageClassic(),
this.sprite.newCostumeName('camera')
));
).flipped()
);
};
CamSnapshotDialogMorph.prototype.disable = function () {

Wyświetl plik

@ -3647,6 +3647,7 @@ Fixes:
170925
------
* GUI, Symbols: added “visible stepping” toggle button to the control bar
* fixed camera retina issues, thanks, Bernat!!
v4.1 Features:
@ -3655,7 +3656,7 @@ v4.1 Features:
* inheritance of sprite attributes (x, y, direction, size, costumes, costume #, sounds, scripts)
* first-class costumes and sounds
* visual indicator (map-pin icon) for sprite-local custom blocks (i.e. methods)
* [experimental, hidden] camera snapshots for costumes and new sprites
* camera snapshots for costumes and new sprites
* localization support when typing expressions
* support for user-forced line-breaks in custom block labels
* ternary Boolean slot setting: support to limit Boolean input slots to “true/false” outside of rings and in palette

Wyświetl plik

@ -85,7 +85,7 @@ HTMLCanvasElement, fontHeight, SymbolMorph, localize, SpeechBubbleMorph,
ArrowMorph, MenuMorph, isString, isNil, SliderMorph, MorphicPreferences,
ScrollFrameMorph, MenuItemMorph, Note*/
modules.widgets = '2017-September-08';
modules.widgets = '2017-September-25';
var PushButtonMorph;
var ToggleButtonMorph;