Commit a2f75595 authored by Evan W. Patton's avatar Evan W. Patton

Fix block dragging issues from the drawer

This commit addresses two issues with the blockly update:

1. Updates the flyout implementation in Blockly core to store
information about the last created block so that if many create
operations are fired only the first will be applied. This should
prevent a reported issue where many blocks are created at exactly the
same location when dragging from the flyout.

2. Change the z-index of ode-DialogBox to be greater than Blockly's
drag surface z-index so that dialogs that appear during drag
operations will not be occluded by the dialog. Prior to this change,
the block would be above the dialog and prevent the user from being
able to click any button to dismiss the dialog.

Change-Id: I07f19b971860f72ec512dfd9cb39bcb5207f3987
parent d329e0ef
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<include path="/Ya_tos_form.html" expiration="1d" /> <include path="/Ya_tos_form.html" expiration="1d" />
<include path="/favicon.ico" expiration="365d" /> <include path="/favicon.ico" expiration="365d" />
<include path="/gwt.css" expiration="1d" /> <include path="/gwt.css" expiration="1d" />
<include path="/Ya.css" expiration="1d" /> <include path="/Ya.css" />
<include path="/templates/**" expiration="1d" /> <include path="/templates/**" expiration="1d" />
<include path="/reference/**" expiration="1d" /> <include path="/reference/**" expiration="1d" />
<include path="/closure-library/closure/goog/base.js" expiration="1d" /> <include path="/closure-library/closure/goog/base.js" expiration="1d" />
......
...@@ -1184,6 +1184,7 @@ select.ode-PropertyEditor[disabled] { ...@@ -1184,6 +1184,7 @@ select.ode-PropertyEditor[disabled] {
border-left: 4px solid #8fc202; border-left: 4px solid #8fc202;
border-right: 4px solid #8fc202; border-right: 4px solid #8fc202;
border-bottom: 4px solid #8fc202; border-bottom: 4px solid #8fc202;
z-index: 100;
} }
.ode-DialogBox .gwt-CheckBox { .ode-DialogBox .gwt-CheckBox {
......
Subproject commit 4d22442e1b30b26464171688e296f61abf1b1066 Subproject commit 455a5bb64cefe945730fb88db971268eb476b9aa
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment