s_dropTargetIdx was reset to -1 unconditionally each frame, including the release frame. Since drop target detection runs in PASS 2 (after the drop handler), the target was always -1 when checked. Only reset while mouse button is held so the previous frame's value is preserved. Also bump version to 1.2.0-rc1 and add release notes.
32 lines
900 B
C
32 lines
900 B
C
// DragonX Wallet - ImGui Edition
|
|
// Copyright 2024-2026 The Hush Developers
|
|
// Released under the GPLv3
|
|
|
|
#pragma once
|
|
|
|
// !! DO NOT EDIT version.h — it is generated from version.h.in by CMake.
|
|
// !! Change the version in CMakeLists.txt: project(... VERSION x.y.z ...)
|
|
|
|
#define DRAGONX_VERSION "1.2.0-rc1"
|
|
#define DRAGONX_VERSION_MAJOR 1
|
|
#define DRAGONX_VERSION_MINOR 2
|
|
#define DRAGONX_VERSION_PATCH 0
|
|
|
|
#define DRAGONX_APP_NAME "ObsidianDragon"
|
|
#define DRAGONX_ORG_NAME "Hush"
|
|
|
|
// Default RPC settings
|
|
#define DRAGONX_DEFAULT_RPC_HOST "127.0.0.1"
|
|
#define DRAGONX_DEFAULT_RPC_PORT "21769"
|
|
|
|
// Coin parameters
|
|
#define DRAGONX_TICKER "DRGX"
|
|
#define DRAGONX_COIN_NAME "DragonX"
|
|
#define DRAGONX_URI_SCHEME "drgx"
|
|
#define DRAGONX_ZATOSHI_PER_COIN 100000000
|
|
#define DRAGONX_DEFAULT_FEE 0.0001
|
|
|
|
// Config file names
|
|
#define DRAGONX_CONF_FILENAME "DRAGONX.conf"
|
|
#define DRAGONX_WALLET_FILENAME "wallet.dat"
|