Skip to content

Commit

Permalink
Styling
Browse files Browse the repository at this point in the history
  • Loading branch information
marcojakob committed Feb 13, 2019
1 parent 5a5b3ee commit 0443de7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Version 1.4.1 (2019-02-13)
## Version 1.4.2 (2019-02-13)

- Fix #30: Cannot initialize Dropzone with List<HtmlElement>.
- Follow more code style conventions.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/draggable.dart
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ class Draggable {
///
/// Set [cancelled] to true to indicate that this drag ended through a
/// cancel oparation like hitting the `esc` key.
void _handleDragEnd(Event event, EventTarget target, {cancelled: false}) {
void _handleDragEnd(Event event, EventTarget target, {cancelled = false}) {
// Only handle drag end if the user actually did drag and not just clicked.
if (_currentDrag.started) {
// Pass event to AvatarHandler.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: dnd
version: 1.4.1
version: 1.4.2
author: Marco Jakob <[email protected]>
description: Drag and Drop for Dart web apps with mouse and touch support.
repository: https://github.com/marcojakob/dart-dnd
Expand Down

0 comments on commit 0443de7

Please sign in to comment.