Skip to content

Commit

Permalink
Test: Fix Drag'n'Drop in Chromium-Browsers
Browse files Browse the repository at this point in the history
kergomard committed Nov 28, 2024
1 parent 5b1a4b9 commit 623a181
Showing 8 changed files with 15 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -384,7 +384,6 @@ function (string $c, array $v) use ($sort_closure): string {
public function render(string $a_mode = ''): string
{
if (!$this->styling_disabled) {
$this->getGlobalTpl()->addCss('assets/css/nested_ordering.css');
$this->getGlobalTpl()->addCss('assets/css/content.css');
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -72,10 +72,12 @@ let currentHoverElementForTouch;
* @param {Event} event
*/
function dragstartHandler(event) {
startMoving(event.target);
event.dataTransfer.dropEffect = dragType;
event.dataTransfer.effectAllowed = dragType;
event.dataTransfer.setDragImage(draggedElement, 0, 0);
setTimeout(() => {
startMoving(event.target);
event.dataTransfer.dropEffect = dragType;
event.dataTransfer.effectAllowed = dragType;
event.dataTransfer.setDragImage(draggedElement, 0, 0);
}, 0);
}

/**
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import terser from '@rollup/plugin-terser';
import copyright from '../../../../../../../scripts/Copyright-Checker/copyright';
import preserveCopyright from '../../../../../../../scripts/Copyright-Checker/preserveCopyright';
import copyright from '../../../../../../../scripts/Copyright-Checker/copyright.js';
import preserveCopyright from '../../../../../../../scripts/Copyright-Checker/preserveCopyright.js';

export default {
external: [
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import terser from '@rollup/plugin-terser';
import copyright from '../../../../../../../scripts/Copyright-Checker/copyright';
import preserveCopyright from '../../../../../../../scripts/Copyright-Checker/preserveCopyright';
import copyright from '../../../../../../../scripts/Copyright-Checker/copyright.js';
import preserveCopyright from '../../../../../../../scripts/Copyright-Checker/preserveCopyright.js';

export default {
external: [
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import terser from '@rollup/plugin-terser';
import copyright from '../../../../../../../scripts/Copyright-Checker/copyright';
import preserveCopyright from '../../../../../../../scripts/Copyright-Checker/preserveCopyright';
import copyright from '../../../../../../../scripts/Copyright-Checker/copyright.js';
import preserveCopyright from '../../../../../../../scripts/Copyright-Checker/preserveCopyright.js';

export default {
external: [

0 comments on commit 623a181

Please sign in to comment.