From 0443de75ea997e1c59f574bff89ddf893ef41271 Mon Sep 17 00:00:00 2001 From: Marco Jakob Date: Wed, 13 Feb 2019 23:59:15 +0100 Subject: [PATCH] Styling --- CHANGELOG.md | 2 +- lib/src/draggable.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef45003..92cffb8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. - Follow more code style conventions. diff --git a/lib/src/draggable.dart b/lib/src/draggable.dart index 49a7440..b08c8af 100644 --- a/lib/src/draggable.dart +++ b/lib/src/draggable.dart @@ -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. diff --git a/pubspec.yaml b/pubspec.yaml index f94ebda..1ee0b4b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: dnd -version: 1.4.1 +version: 1.4.2 author: Marco Jakob description: Drag and Drop for Dart web apps with mouse and touch support. repository: https://github.com/marcojakob/dart-dnd