Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
nilshoerrmann committed May 14, 2021
2 parents 4153597 + 7f35988 commit 3bdc8e9
Show file tree
Hide file tree
Showing 6 changed files with 2,175 additions and 200 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Büro für Gestaltung
Copyright (c) 2019-2021 Büro für Gestaltung

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/Converter.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function convertDecimalToHex($number, $pad = true)
$hex = dechex(round($number));

if ($pad) {
$hex = str_pad($hex, 2, '0');
$hex = str_pad($hex, 2, '0', STR_PAD_LEFT);
}

return $hex;
Expand Down
Loading

0 comments on commit 3bdc8e9

Please sign in to comment.