Bug Fixes & Layout

This commit is contained in:
Paul Schneider 2016-10-05 01:20:06 +02:00
commit 6a211566d3
11 changed files with 181 additions and 92 deletions

View file

@ -23,20 +23,21 @@ namespace BookAStar.Views
{
return markdown;
}
set {
set
{
if (markdown != value)
if (Edited != null)
{
markdown = value;
if (Modified != null)
{
markdown = value;
Edited.Invoke(this, new EventArgs());
Modified.Invoke(this, new EventArgs());
return;
}
markdown = value;
}
}
}
public event EventHandler<EventArgs> Edited;
public event EventHandler<EventArgs> Modified;
protected override SizeRequest OnMeasure(double widthConstraint, double heightConstraint)
{