mirror of
https://github.com/hyprwm/hyprpicker.git
synced 2025-12-20 00:10:02 +01:00
formatting changes
This commit is contained in:
parent
b7402aa3bf
commit
956bed3d8c
2 changed files with 3 additions and 4 deletions
|
|
@ -428,11 +428,10 @@ void CHyprpicker::renderSurface(CLayerSurface* pSurface, bool forceInactive) {
|
|||
if (!m_bDisableHexPreview) {
|
||||
const auto currentColor = getColorFromPixel(pSurface, CLICKPOS);
|
||||
std::string hexBuffer;
|
||||
if (m_bUseLowerCase) {
|
||||
if (m_bUseLowerCase)
|
||||
hexBuffer = std::format("#{:02x}{:02x}{:02x}", currentColor.r, currentColor.g, currentColor.b);
|
||||
} else {
|
||||
else
|
||||
hexBuffer = std::format("#{:02X}{:02X}{:02X}", currentColor.r, currentColor.g, currentColor.b);
|
||||
}
|
||||
|
||||
cairo_set_source_rgba(PCAIRO, 0.0, 0.0, 0.0, 0.5);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue