diff --git a/gulpfile.js b/gulpfile.js index 48fe10288..c4d54996e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -63,7 +63,7 @@ const DIST_DIR = BUILD_DIR + "dist/"; const TYPES_DIR = BUILD_DIR + "types/"; const TMP_DIR = BUILD_DIR + "tmp/"; const TYPESTEST_DIR = BUILD_DIR + "typestest/"; -const COMMON_WEB_FILES = ["web/images/*.{png,svg,gif,cur}", "web/debugger.js"]; +const COMMON_WEB_FILES = ["web/images/*.{png,svg,gif}", "web/debugger.js"]; const MOZCENTRAL_DIFF_FILE = "mozcentral.diff"; const REPO = "git@github.com:mozilla/pdf.js.git"; @@ -1215,13 +1215,6 @@ gulp.task( const version = versionJSON.version, commit = versionJSON.commit; - // Ignore the fallback cursor images, since they're unnecessary in - // Firefox. - const MOZCENTRAL_COMMON_WEB_FILES = [ - ...COMMON_WEB_FILES, - "!web/images/*.cur", - ]; - return merge([ createMainBundle(defines).pipe( gulp.dest(MOZCENTRAL_CONTENT_DIR + "build") @@ -1239,7 +1232,7 @@ gulp.task( gulp.dest(MOZCENTRAL_CONTENT_DIR + "web") ), gulp - .src(MOZCENTRAL_COMMON_WEB_FILES, { base: "web/" }) + .src(COMMON_WEB_FILES, { base: "web/" }) .pipe(gulp.dest(MOZCENTRAL_CONTENT_DIR + "web")), createCMapBundle().pipe( gulp.dest(MOZCENTRAL_CONTENT_DIR + "web/cmaps") diff --git a/web/images/grab.cur b/web/images/grab.cur deleted file mode 100644 index db7ad5aed..000000000 Binary files a/web/images/grab.cur and /dev/null differ diff --git a/web/images/grabbing.cur b/web/images/grabbing.cur deleted file mode 100644 index e0dfd04e4..000000000 Binary files a/web/images/grabbing.cur and /dev/null differ diff --git a/web/viewer.css b/web/viewer.css index 84d1cd1e2..2f658eaaf 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -1699,7 +1699,6 @@ html[dir="rtl"] .treeItemToggler::before { } .grab-to-pan-grab { - cursor: url("images/grab.cur"), move !important; cursor: grab !important; } .grab-to-pan-grab @@ -1708,7 +1707,6 @@ html[dir="rtl"] .treeItemToggler::before { } .grab-to-pan-grab:active, .grab-to-pan-grabbing { - cursor: url("images/grabbing.cur"), move !important; cursor: grabbing !important; position: fixed; background: rgba(0, 0, 0, 0);