mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Android: Disable long press on images as it interferes with zoom in and out
This commit is contained in:
parent
693f59d07a
commit
38b0702314
2
packages/app-cli/package-lock.json
generated
2
packages/app-cli/package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "joplin",
|
"name": "joplin",
|
||||||
"version": "1.4.7",
|
"version": "1.5.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -82,7 +82,9 @@ export default function useSource(noteBody: string, noteMarkupLanguage: number,
|
|||||||
resources: noteResources,
|
resources: noteResources,
|
||||||
codeTheme: theme.codeThemeCss,
|
codeTheme: theme.codeThemeCss,
|
||||||
postMessageSyntax: 'window.joplinPostMessage_',
|
postMessageSyntax: 'window.joplinPostMessage_',
|
||||||
enableLongPress: shim.mobilePlatform() === 'android', // On iOS, there's already a built-on open/share menu
|
// Disabled for now as it causes issues when zooming in or out
|
||||||
|
// https://github.com/laurent22/joplin/pull/3939#issuecomment-734260166
|
||||||
|
enableLongPress: false, // shim.mobilePlatform() === 'android', // On iOS, there's already a built-on open/share menu
|
||||||
};
|
};
|
||||||
|
|
||||||
// Whenever a resource state changes, for example when it goes from "not downloaded" to "downloaded", the "noteResources"
|
// Whenever a resource state changes, for example when it goes from "not downloaded" to "downloaded", the "noteResources"
|
||||||
|
@ -866,7 +866,7 @@ class JoplinDatabase extends Database {
|
|||||||
this.logger().warn('Could not upgrade to database v15 or v18 or v33 - FTS feature will not be used', error);
|
this.logger().warn('Could not upgrade to database v15 or v18 or v33 - FTS feature will not be used', error);
|
||||||
saveVersionAgain = true;
|
saveVersionAgain = true;
|
||||||
} else if (targetVersion === 34) {
|
} else if (targetVersion === 34) {
|
||||||
if (!shim.isTestingEnv()) this.logger().warn('Could not upgrade to database v34 - fuzzy search will not be used', error);
|
// if (!shim.isTestingEnv()) this.logger().warn('Could not upgrade to database v34 - fuzzy search will not be used', error);
|
||||||
saveVersionAgain = true;
|
saveVersionAgain = true;
|
||||||
} else {
|
} else {
|
||||||
throw error;
|
throw error;
|
||||||
|
Loading…
Reference in New Issue
Block a user