mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-24 07:20:16 +05:30
fix(preload): whitelist monospace-setting-change channel
Reviewer caught that the new View > Monospace Font menu channel was missing from preload.js's ALLOWED_RECEIVE_CHANNELS, the sole gap among 29 raw ipcRenderer.on(...) channels used in renderer.js. Add it under the existing Font section for consistency with adjust-font-size. Amit Haridas
This commit is contained in:
@@ -172,6 +172,7 @@ const ALLOWED_RECEIVE_CHANNELS = [
|
|||||||
|
|
||||||
// Font
|
// Font
|
||||||
'adjust-font-size',
|
'adjust-font-size',
|
||||||
|
'monospace-setting-change',
|
||||||
|
|
||||||
// Print
|
// Print
|
||||||
'print-preview',
|
'print-preview',
|
||||||
|
|||||||
Reference in New Issue
Block a user