Skip to content

Commit 455398a

Browse files
committed
Read-me prepared, bug fix
1 parent a6dbfff commit 455398a

5 files changed

Lines changed: 11 additions & 9 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ The custom equations dialog with categories tree
104104
- The plug-in was migrated to typescript as programming language.
105105
- A dependency injection framework was introduced.
106106
- The handling of the information window was improved.
107-
- The web version of this app now supports a mobile parameter in the query string.
107+
- The web version of this app now supports a mobile parameter in the query string. But this is
108+
merely an experimental feature in an early stage.
108109
- Extensive re-factorings of the source code to improve the code structure.
109110

110111
### 2.0.1

src/assets/js/dialog.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ h3 {
319319
}
320320
#cUNICODES_VALUES {
321321
float: right;
322-
width: 170px;
322+
width: 180px;
323323
height: calc(100% - 60px);
324324
overflow: auto;
325325
td, th {

src/assets/js/dialog.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,8 @@ export class KatexInputHelper implements IKatexInputHelper {
326326
type: 'css'
327327
} };
328328
await import('./jquery-easyui/themes/mobile.css', opts);
329-
let mob = await import('./jquery-easyui/jquery.easyui.mobile');
329+
// Throws in matrix window
330+
//let mobile = await import('./jquery-easyui/jquery.easyui.mobile');
330331
}
331332

332333
// IN QUESTION
@@ -429,7 +430,7 @@ export class KatexInputHelper implements IKatexInputHelper {
429430

430431
if(!vme.platformInfo.isMobile) {
431432
/* The context menu appears but throws on click or mouse move afterwards:
432-
NO OWNER.
433+
NO OWNER => special handling.
433434
*/
434435
$(".CodeMirror").on('contextmenu', (event) => vme.onContextMenu('#mINSERT', event));
435436
} else {
@@ -547,7 +548,7 @@ export class KatexInputHelper implements IKatexInputHelper {
547548
// No longer functional
548549
//case "mMATH_ML": vme.viewMathML(vme.mathVisualOutput.id); break;
549550
// TODO: complete transfer of functionality to Panels
550-
case "mUNICODES_LIST": await vme.panels.showWindowGeneric(UnicodeWindow, 'wUNICODES_LIST'); break;
551+
case "mUNICODES_LIST": await vme.panels.showWindowGeneric(UnicodeWindow, 'wUNICODES_LIST', vme.initialiseSymbolContent.bind(vme)); break;
551552
case "mLATEX_CODES_LIST": await vme.openWindow('wLATEX_CODES_LIST'); await vme.initialiseLatexMathjaxCodesList(); break;
552553
case "mLANG_RESSOURCE_LIST": await vme.openWindow('wLANGUAGE_LIST'); await vme.initialiseLangRessourcesList(); break;
553554
case "mLATEX_DOCUMENTATION": vme.documentations.showLatexDocumentation(); break;

src/assets/js/panels.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ export class MatrixWindow extends KIHWindow {
361361
// adapt the size of this wMATRIX window to fit the content
362362
let width = 20 + $("#tableMATRIX").width();
363363
let height = 100 + $("#tableMATRIX").height();
364-
width = Math.max(width, 260);
364+
width = Math.max(width, 280);
365365
height = Math.max(height, 160);
366366

367367
let options = $('#wMATRIX').dialog('options');
@@ -471,9 +471,9 @@ export class UnicodeWindow extends KIHWindow {
471471
/**
472472
* Initialises the Unicode List.
473473
*/
474-
override async initialise(initialiseSymbolContent: any) : Promise<void> {
474+
override async initialise(...params: any) : Promise<void> {
475475
await super.initialise();
476-
this.initialiseSymbolContent = initialiseSymbolContent;
476+
[ this.initialiseSymbolContent ] = params;
477477

478478
let vme = this;
479479
function prependNumber(j: number) {

src/assets/js/versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"easyuiVersion": "1.11.3",
55
"katexVersion": "0.16.22",
66
"colorPickerVersion": "23/05/2009",
7-
"build": 91
7+
"build": 98
88
}

0 commit comments

Comments
 (0)