-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep items in dropped position in assessment mode.
Items dropped onto wrong zones in standard mode are immediately removed from the board and sent back to the bank. In assessment mode, items should stick in the dropped position until the entire problem is explicitly submitted by clicking a button. This commit only implements the "stick" part, but does not implement the submit button and associated handler. This commit also fixes an existing bug where the template function would gett reused between blocks. The template function (which is slightly different for each block, depending on block's configuration) was getting assigned to the global DragAndDropBlock function. Each block would overwrite the previous value, which caused bugs.
- Loading branch information
Showing
10 changed files
with
213 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.