mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 11:19:24 +02:00
fixes for htmllite
git-svn-id: trunk@3745 -
This commit is contained in:
parent
1428729afd
commit
a8e39c68f8
@ -6,8 +6,6 @@
|
||||
{* All rights reserved. *}
|
||||
{*********************************************************}
|
||||
|
||||
{$DEFINE HL_LAZARUS}
|
||||
|
||||
{$i LiteCons.inc}
|
||||
|
||||
unit HTMLLite;
|
||||
@ -1394,7 +1392,7 @@ else if (FSectionList.FindCursor(PaintPanel.Canvas, X, Y+FSectionList.YOff-FMarg
|
||||
NextCursor := Cursor;
|
||||
|
||||
PaintPanel.Cursor := NextCursor;
|
||||
SetCursor(Screen.Cursors[NextCursor]);
|
||||
Cursor:=Screen.Cursors[NextCursor];
|
||||
|
||||
if ((NextCursor = HandCursor) or (SectionList.ActiveImage <> Nil)) then
|
||||
HTMLTimer.Enabled := True
|
||||
|
@ -627,7 +627,7 @@ const
|
||||
ImageSpace = 5; {extra space for left, right images}
|
||||
|
||||
var
|
||||
ListIndent: integer = 35; {defines successive indents}
|
||||
ListIndent: integer{$IFNDEF HL_LAZARUS} = 35{$ENDIF}; {defines successive indents}
|
||||
|
||||
implementation
|
||||
|
||||
@ -5894,6 +5894,11 @@ DefFont.UpdateFont(ParentSectionList, ParentSectionList.FontColor);
|
||||
inherited UpdateFonts;
|
||||
end;
|
||||
|
||||
{$IFDEF HL_LAZARUS}
|
||||
initialization
|
||||
ListIndent:=35;
|
||||
{$ENDIF}
|
||||
|
||||
end.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user