Skip to content

Commit 75feb7d

Browse files
authored
Minor tweaks (#69)
1 parent 48b4a63 commit 75feb7d

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,3 +286,4 @@ __pycache__/
286286
*.btm.cs
287287
*.odx.cs
288288
*.xsd.cs
289+
Thumbs.db

lib/PuppeteerSharp.Tests/Page/ScreenshotTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ await page.SetViewport(new ViewPortOptions
2323
Width = 500,
2424
Height = 500
2525
});
26+
2627
await page.GoToAsync(TestConstants.ServerUrl + "/grid.html");
2728

2829
if (fileInfo.Exists)

lib/PuppeteerSharp.sln

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,9 @@ Global
2626
{0CC393AB-10C2-4CDB-8353-78924D3DD5D3}.Release|Any CPU.ActiveCfg = Release|Any CPU
2727
{0CC393AB-10C2-4CDB-8353-78924D3DD5D3}.Release|Any CPU.Build.0 = Release|Any CPU
2828
EndGlobalSection
29+
GlobalSection(MonoDevelopProperties) = preSolution
30+
Policies = $0
31+
$0.DotNetNamingPolicy = $1
32+
$1.DirectoryNamespaceAssociation = PrefixedHierarchical
33+
EndGlobalSection
2934
EndGlobal

lib/PuppeteerSharp/MarginOptions.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
{
33
public class MarginOptions
44
{
5-
public decimal Top { get; set; }
6-
public decimal Left { get; set; }
7-
public decimal Bottom { get; set; }
8-
public decimal Right { get; set; }
5+
public string Top { get; set; }
6+
public string Left { get; set; }
7+
public string Bottom { get; set; }
8+
public string Right { get; set; }
99
}
1010
}

lib/PuppeteerSharp/PuppeteerSharp.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<PackOnBuild>true</PackOnBuild>
6-
<PackageVersion>0.0.1</PackageVersion>
7-
<Authors>kblok</Authors>
8-
<Owners>kblok</Owners>
6+
<PackageVersion>0.1.0</PackageVersion>
7+
<Authors>Darío Kondratiuk</Authors>
8+
<Owners>Darío Kondratiuk</Owners>
99
<PackageProjectUrl>https://github.com/kblok/puppeteer-sharp</PackageProjectUrl>
1010
<Summary>Headless Chrome .NET API</Summary>
1111
<PackageTags>headless,chrome,puppeteer</PackageTags>
1212
<Title>PuppeteerSharp</Title>
1313
<Description>Headless Chrome .NET API</Description>
1414
<PackageId>PuppeteerSharp</PackageId>
15+
<PackageReleaseNotes>* 0.1: PDF and Screenshots support</PackageReleaseNotes>
1516
</PropertyGroup>
1617
<ItemGroup>
1718
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />

0 commit comments

Comments
 (0)