mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-30 14:34:09 +02:00
Add numbered lines to example notification to make adjusting scroll speed easier
This commit is contained in:
parent
29308de3ee
commit
3f4844f6f6
@ -39,11 +39,6 @@ protected override FormBorderStyle NotificationBorderStyle {
|
|||||||
};
|
};
|
||||||
|
|
||||||
string exampleTweetHTML = ResourceUtils.ReadFileOrNull("notification/example/example.html") ?? string.Empty;
|
string exampleTweetHTML = ResourceUtils.ReadFileOrNull("notification/example/example.html") ?? string.Empty;
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
exampleTweetHTML = exampleTweetHTML.Replace("</p>", @"</p><div style='margin-top:256px'>Scrollbar test padding...</div>");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
exampleNotification = new DesktopNotification(string.Empty, string.Empty, "Home", exampleTweetHTML, 176, string.Empty, string.Empty);
|
exampleNotification = new DesktopNotification(string.Empty, string.Empty, "Home", exampleTweetHTML, 176, string.Empty, string.Empty);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,7 +18,36 @@
|
|||||||
</a>
|
</a>
|
||||||
</header>
|
</header>
|
||||||
<div class="tweet-body">
|
<div class="tweet-body">
|
||||||
<p class="js-tweet-text tweet-text with-linebreaks">Here you can see the position and appearance of desktop notifications.<br><br>For location and size, you can pick a preset, or select <strong>Custom</strong> and then freely move or resize the window.</p>
|
<p class="js-tweet-text tweet-text">
|
||||||
|
Here you can see the position and appearance of desktop notifications.<br><br>
|
||||||
|
For location and size, you can pick a preset, or select <strong>Custom</strong> and then freely move or resize the window.<br><br>
|
||||||
|
You can use the numbered lines below to test and adjust scroll speed:<br><br>
|
||||||
|
01<br>
|
||||||
|
02<br>
|
||||||
|
03<br>
|
||||||
|
04<br>
|
||||||
|
05<br>
|
||||||
|
06<br>
|
||||||
|
07<br>
|
||||||
|
08<br>
|
||||||
|
09<br>
|
||||||
|
10<br>
|
||||||
|
11<br>
|
||||||
|
12<br>
|
||||||
|
13<br>
|
||||||
|
14<br>
|
||||||
|
15<br>
|
||||||
|
16<br>
|
||||||
|
17<br>
|
||||||
|
18<br>
|
||||||
|
19<br>
|
||||||
|
20<br>
|
||||||
|
21<br>
|
||||||
|
22<br>
|
||||||
|
23<br>
|
||||||
|
24<br>
|
||||||
|
25
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user