mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-14 14:19:08 +02:00
parent
3f21545b7d
commit
6fe5b10fcc
@ -4927,6 +4927,8 @@ Begin
|
||||
RegisterMouseActionExecHandler(@EditorHandleMouseAction);
|
||||
// IMPORTANT: when you change above, don't forget updating UnbindEditor
|
||||
Parent := AParent;
|
||||
if AParent.Font.PixelsPerInch<>96 then
|
||||
AutoAdjustLayout(lapAutoAdjustForDPI, 96, AParent.Font.PixelsPerInch, 0, 0);
|
||||
end;
|
||||
Manager.CodeTemplateModul.AddEditor(FEditor);
|
||||
Manager.FMacroRecorder.AddEditor(FEditor);
|
||||
|
Loading…
Reference in New Issue
Block a user