fixed centering of menus, thanks, @brollb!

snap7
jmoenig 2021-07-02 17:29:59 +02:00
rodzic b9db62609b
commit b3bb4eb51e
3 zmienionych plików z 7 dodań i 3 usunięć

Wyświetl plik

@ -11,11 +11,13 @@
* retired Leap Motion library, took out Hummingbird library (get the current one from Birdbrain)
* **Notable Fixes:**
* made scrollbars in the wardrobe and jukebox more responsive
* fixed centering of menus, thanks, Brian Broll!
* fixed occasional invisible error messages
### 2021-07-02
* gui, object, store, etc.: unified blocks palette option, thanks, Michael!
* merged scenes branch
* morphic: fixed centering of menus, thanks, Brian Broll!
### 2021-05-21
* gui, scenes, store: proxied thumbnail, name and notes in project, restored in XML

Wyświetl plik

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Snap! 7 - dev - Build Your Own Blocks</title>
<link rel="icon" href="src/favicon.ico">
<script src="src/morphic.js?version=2021-04-12"></script>
<script src="src/morphic.js?version=2021-07-02"></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-07-02"></script>

Wyświetl plik

@ -1289,7 +1289,7 @@
/*global window, HTMLCanvasElement, FileReader, Audio, FileList, Map*/
var morphicVersion = '2021-June-09';
var morphicVersion = '2021-July-02';
var modules = {}; // keep track of additional loaded modules
var useBlurredShadows = true;
@ -8238,6 +8238,7 @@ MenuMorph.prototype.popUpAtHand = function (world) {
MenuMorph.prototype.popUpCenteredAtHand = function (world) {
var wrrld = world || this.world;
this.fixLayout();
this.createItems();
this.popup(
wrrld,
wrrld.hand.position().subtract(
@ -8249,6 +8250,7 @@ MenuMorph.prototype.popUpCenteredAtHand = function (world) {
MenuMorph.prototype.popUpCenteredInWorld = function (world) {
var wrrld = world || this.world;
this.fixLayout();
this.createItems();
this.popup(
wrrld,
wrrld.center().subtract(
@ -12312,7 +12314,7 @@ WorldMorph.prototype.droppedSVG = nop;
WorldMorph.prototype.droppedAudio = nop;
WorldMorph.prototype.droppedText;
WorldMorph.prototype.droppedText = nop;
WorldMorph.prototype.beginBulkDrop = nop;